adding auth to composer on build and add php-7

This commit is contained in:
Julien Fastré 2015-10-17 00:15:46 +02:00
parent ce5d09e79d
commit 45ad577e8b

View File

@ -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
script: phpunit --testdox-test
test:php-7:
stage: test
script: phpunit --testdox-text