diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ba03dee4f..2d1836adb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: