fix usage of php-7 in ci

This commit is contained in:
Julien Fastré 2016-01-01 22:59:47 +01:00
parent 4e34485d8d
commit 67ac2428bc

View File

@ -3,7 +3,7 @@ services:
before_script:
- composer config github-oauth.github.com $GITHUB_TOKEN
- composer install --no-interaction
- composer install --no-interaction --ignore-platform-reqs
- cp Tests/Fixtures/App/app/config/parameters.gitlab-ci.yml Tests/Fixtures/App/app/config/parameters.yml
- php Tests/Fixtures/App/app/console.php --env=test cache:warmup
- php Tests/Fixtures/App/app/console.php doctrine:migrations:migrate --env=test --no-interaction
@ -11,7 +11,8 @@ before_script:
test:php-5.6:
stage: test
script: phpunit --testdox
script: phpunit
test:php-7:
image: chill/ci-image:php-7
stage: test
script: phpunit --testdox
script: phpunit