1
0
Fork 0

Try adding a high deps build, fixes #7124

pull/7225/head
Jordi Boggiano 2018-03-29 23:28:02 +02:00
parent 9a5c2da4de
commit 3536c2970a
1 changed files with 7 additions and 5 deletions

View File

@ -27,15 +27,15 @@ php:
matrix:
include:
- dist: precise
php: 5.3
- php: 5.3
dist: precise
- php: 7.2
env: deps=high
fast_finish: true
allow_failures:
- php: nightly
before_install:
# determine INI file
- if [[ $TRAVIS_PHP_VERSION = hhvm* ]]; then export INI=/etc/hhvm/php.ini; else export INI=~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
# disable xdebug if available
- phpenv config-rm xdebug.ini || echo "xdebug not available"
# disable default memory limit
@ -44,6 +44,8 @@ before_install:
install:
# flags to pass to install
- flags="--ansi --prefer-dist --no-interaction --optimize-autoloader --no-suggest --no-progress"
# update deps to latest in case of high deps build
- if [ "$deps" == "high" ]; then composer config platform.php 7.2.4; composer update $flags; fi
# install dependencies using system provided composer binary
- composer install $flags
# install dependencies using composer from source