From 45ad577e8b24cf16e6a79e8d9650068e014dd3a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Sat, 17 Oct 2015 00:15:46 +0200 Subject: [PATCH] adding auth to composer on build and add php-7 --- .gitlab-ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 55ffeca98..b44fccb86 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,12 +3,16 @@ services: before_script: - - composer install --dev + - export GITHUB_COMPOSER_AUTH=$GITHUB_COMPOSER_AUTH + - composer install - cp Tests/Fixtures/App/config/parameters.gitlab-ci.yml Tests/Fixtures/App/config/parameters.yml - php Tests/Fixtures/App/console --env=test cache:warmup - php Tests/Fixtures/App/console doctrine:migrations:migrate --env=test --no-interaction - php Tests/Fixtures/App/console doctrine:fixtures:load --env=test --no-interaction -job1: +test:php-5.6: stage: test - script: phpunit --coverage-text \ No newline at end of file + script: phpunit --testdox-test +test:php-7: + stage: test + script: phpunit --testdox-text \ No newline at end of file