From 3536c2970a32ff88fb2839880521cd1fa9627d41 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 29 Mar 2018 23:28:02 +0200 Subject: [PATCH] Try adding a high deps build, fixes #7124 --- .travis.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5b8cf1391..f2b804822 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,16 +27,16 @@ 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 + # disable xdebug if available - phpenv config-rm xdebug.ini || echo "xdebug not available" # disable default memory limit - echo memory_limit = -1 >> $INI @@ -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