Try, try again

This commit is contained in:
Timothy Warren 2017-02-15 10:23:07 -05:00
parent 8a789e0786
commit 3e4e76cf0f
2 changed files with 7 additions and 5 deletions

View File

@ -10,7 +10,7 @@ test:7:
- php composer.phar install --no-dev --ignore-platform-reqs - php composer.phar install --no-dev --ignore-platform-reqs
image: php:7-alpine image: php:7-alpine
script: script:
- ./vendor/bin/phpunit -c build --coverage-text --colors=never - phpunit -c build --coverage-text --colors=never
test:7.1: test:7.1:
stage: test stage: test
@ -20,7 +20,7 @@ test:7.1:
- php composer.phar install --no-dev --ignore-platform-reqs - php composer.phar install --no-dev --ignore-platform-reqs
image: php:7.1-alpine image: php:7.1-alpine
script: script:
- ./vendor/bin/phpunit -c build --coverage-text --colors=never - phpunit -c build --coverage-text --colors=never
#test:hhvm: #test:hhvm:
# stage: test # stage: test

View File

@ -11,8 +11,11 @@ apk upgrade --update && apk add --no-cache \
make \ make \
autoconf \ autoconf \
curl \ curl \
git \ git
zlib-dev
# Install phpunit, the tool that we will use for testing
curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
chmod +x /usr/local/bin/phpunit
# Install extensions # Install extensions
# Install xdebug for coverage report # Install xdebug for coverage report
@ -20,4 +23,3 @@ docker-php-source extract
pecl install xdebug pecl install xdebug
docker-php-ext-enable xdebug docker-php-ext-enable xdebug
docker-php-source delete docker-php-source delete
# docker-php-ext-install zip