Actually install dev dependencies for gitlab ci

This commit is contained in:
Timothy Warren 2017-02-28 13:52:39 -05:00
parent 9ec3e0cd94
commit f1e5a0a237

View File

@ -1,14 +1,10 @@
stages:
- test
test:7: test:7:
stage: test stage: test
before_script: before_script:
- sh build/docker_install.sh > /dev/null - sh build/docker_install.sh > /dev/null
- apk add --no-cache php7-phpdbg - apk add --no-cache php7-phpdbg
- curl -sS https://getcomposer.org/installer | php - curl -sS https://getcomposer.org/installer | php
- php composer.phar install --no-dev --ignore-platform-reqs - php composer.phar install --ignore-platform-reqs
image: php:7-alpine image: php:7-alpine
script: script:
- phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never - phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never
@ -19,7 +15,7 @@ test:7.1:
- sh build/docker_install.sh > /dev/null - sh build/docker_install.sh > /dev/null
- apk add --no-cache php7.1-phpdbg - apk add --no-cache php7.1-phpdbg
- curl -sS https://getcomposer.org/installer | php - curl -sS https://getcomposer.org/installer | php
- php composer.phar install --no-dev --ignore-platform-reqs - php composer.phar install --ignore-platform-reqs
image: php:7.1-alpine image: php:7.1-alpine
script: script:
- phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never - phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never