ignore platform reqs on build

This commit is contained in:
Julien Fastré 2015-12-29 17:09:04 +01:00
parent 7a8ef70cd1
commit 546fe49960

View File

@ -4,7 +4,7 @@ services:
before_script:
- composer config github-oauth.github.com $GITHUB_TOKEN
- if [ $CI_BUILD_REF_NAME = "1.0" ] ; then export COMPOSER_ROOT_VERSION="1.0-dev"; else export COMPOSER_ROOT_VERSION="dev-master"; fi
- 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
- ./console.sh --env=test cache:warmup
- ./console.sh doctrine:migrations:migrate --env=test --no-interaction
@ -12,8 +12,8 @@ before_script:
test:php-5.6:
stage: test
script: phpunit --testdox
script: phpunit
test:php-7:
stage: test
image: chill/ci-image:php-7
script: phpunit --testdox
script: phpunit