Make sure to try to install the correct packages
This commit is contained in:
parent
2bdf4be682
commit
85a6fafd4f
@ -29,15 +29,15 @@ test:7.1:
|
|||||||
script:
|
script:
|
||||||
- phpunit -c build --coverage-text --colors=never
|
- phpunit -c build --coverage-text --colors=never
|
||||||
|
|
||||||
test:hhvm:
|
#test:hhvm:
|
||||||
stage: test
|
# stage: test
|
||||||
allow_failure: true
|
# allow_failure: true
|
||||||
before_script:
|
# before_script:
|
||||||
- /usr/local/bin/composer self-update
|
# - /usr/local/bin/composer self-update
|
||||||
- curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
|
# - curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
|
||||||
- chmod +x /usr/local/bin/phpunit
|
# - chmod +x /usr/local/bin/phpunit
|
||||||
- composer install --no-dev --ignore-platform-reqs
|
# - composer install --no-dev --ignore-platform-reqs
|
||||||
#image: 51systems/docker-gitlab-ci-runner-hhvm
|
# #image: 51systems/docker-gitlab-ci-runner-hhvm
|
||||||
image: 2ndkauboy/gitlab-ci-runner-hhvm
|
# image: 2ndkauboy/gitlab-ci-runner-hhvm
|
||||||
script:
|
# script:
|
||||||
- hhvm -d hhvm.php7.all=true /usr/local/bin/phpunit -c build --coverage-text --colors=never
|
# - hhvm -d hhvm.php7.all=true /usr/local/bin/phpunit -c build --coverage-text --colors=never
|
@ -9,10 +9,8 @@ set -xe
|
|||||||
apk upgrade --update && apk add \
|
apk upgrade --update && apk add \
|
||||||
curl \
|
curl \
|
||||||
git \
|
git \
|
||||||
libxslt1-dev \
|
libxslt-dev \
|
||||||
libxslt1.1 \
|
zlib-dev
|
||||||
zlib1g-dev \
|
|
||||||
unzip
|
|
||||||
|
|
||||||
# Install phpunit, the tool that we will use for testing
|
# Install phpunit, the tool that we will use for testing
|
||||||
curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
|
curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
|
||||||
|
Loading…
Reference in New Issue
Block a user