Make sure to try to install the correct packages

This commit is contained in:
Timothy Warren 2017-02-15 09:36:51 -05:00
parent 2bdf4be682
commit 85a6fafd4f
2 changed files with 14 additions and 16 deletions

View File

@ -29,15 +29,15 @@ test:7.1:
script:
- phpunit -c build --coverage-text --colors=never
test:hhvm:
stage: test
allow_failure: true
before_script:
- /usr/local/bin/composer self-update
- curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
- chmod +x /usr/local/bin/phpunit
- composer install --no-dev --ignore-platform-reqs
#image: 51systems/docker-gitlab-ci-runner-hhvm
image: 2ndkauboy/gitlab-ci-runner-hhvm
script:
- hhvm -d hhvm.php7.all=true /usr/local/bin/phpunit -c build --coverage-text --colors=never
#test:hhvm:
# stage: test
# allow_failure: true
# before_script:
# - /usr/local/bin/composer self-update
# - curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
# - chmod +x /usr/local/bin/phpunit
# - composer install --no-dev --ignore-platform-reqs
# #image: 51systems/docker-gitlab-ci-runner-hhvm
# image: 2ndkauboy/gitlab-ci-runner-hhvm
# script:
# - hhvm -d hhvm.php7.all=true /usr/local/bin/phpunit -c build --coverage-text --colors=never

View File

@ -9,10 +9,8 @@ set -xe
apk upgrade --update && apk add \
curl \
git \
libxslt1-dev \
libxslt1.1 \
zlib1g-dev \
unzip
libxslt-dev \
zlib-dev
# Install phpunit, the tool that we will use for testing
curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar