fix error in gitlab-ci

This commit is contained in:
Julien Fastré 2016-11-20 22:24:20 +01:00
parent f37f78f3a8
commit f4ec64c483

View File

@ -1,23 +1,23 @@
.test_definition: &test_definition
services:
- chill/database:latest
before_script:
- composer config github-oauth.github.com $GITHUB_TOKEN
- composer install --no-interaction
- cp Test/Fixtures/App/app/config/parameters.gitlab-ci.yml Test/Fixtures/App/app/config/parameters.yml
# - php Test/Fixtures/App/app/console --env=test cache:warmup
- php Test/Fixtures/App/app/console doctrine:migrations:migrate --env=test --no-interaction
- php Test/Fixtures/App/app/console doctrine:fixtures:load --env=test --no-interaction
services:
- chill/database:latest
before_script:
- composer config github-oauth.github.com $GITHUB_TOKEN
- composer install --no-interaction
- cp Test/Fixtures/App/app/config/parameters.gitlab-ci.yml Test/Fixtures/App/app/config/parameters.yml
# - php Test/Fixtures/App/app/console --env=test cache:warmup
- php Test/Fixtures/App/app/console doctrine:migrations:migrate --env=test --no-interaction
- php Test/Fixtures/App/app/console doctrine:fixtures:load --env=test --no-interaction
test:php-5.6:
stage: test
<<: *test_definition
script: phpunit
stage: test
<<: *test_definition
script: phpunit
test:php-7:
stage: test
<<: *test_definition
script: phpunit
stage: test
<<: *test_definition
script: phpunit
deploy-packagist: