mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
fix usage of php-7 in ci
This commit is contained in:
parent
4e34485d8d
commit
67ac2428bc
@ -3,7 +3,7 @@ services:
|
|||||||
|
|
||||||
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 --ignore-platform-reqs
|
||||||
- cp Tests/Fixtures/App/app/config/parameters.gitlab-ci.yml Tests/Fixtures/App/app/config/parameters.yml
|
- cp Tests/Fixtures/App/app/config/parameters.gitlab-ci.yml Tests/Fixtures/App/app/config/parameters.yml
|
||||||
- php Tests/Fixtures/App/app/console.php --env=test cache:warmup
|
- php Tests/Fixtures/App/app/console.php --env=test cache:warmup
|
||||||
- php Tests/Fixtures/App/app/console.php doctrine:migrations:migrate --env=test --no-interaction
|
- php Tests/Fixtures/App/app/console.php doctrine:migrations:migrate --env=test --no-interaction
|
||||||
@ -11,7 +11,8 @@ before_script:
|
|||||||
|
|
||||||
test:php-5.6:
|
test:php-5.6:
|
||||||
stage: test
|
stage: test
|
||||||
script: phpunit --testdox
|
script: phpunit
|
||||||
test:php-7:
|
test:php-7:
|
||||||
|
image: chill/ci-image:php-7
|
||||||
stage: test
|
stage: test
|
||||||
script: phpunit --testdox
|
script: phpunit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user