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