mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
adding auth to composer on build and add php-7
This commit is contained in:
parent
ce5d09e79d
commit
45ad577e8b
@ -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
|
Loading…
x
Reference in New Issue
Block a user