Try adding a high deps build, fixes #7124
parent
9a5c2da4de
commit
3536c2970a
12
.travis.yml
12
.travis.yml
|
@ -27,16 +27,16 @@ php:
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- dist: precise
|
- php: 5.3
|
||||||
php: 5.3
|
dist: precise
|
||||||
|
- php: 7.2
|
||||||
|
env: deps=high
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: nightly
|
- php: nightly
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
# determine INI file
|
# disable xdebug if available
|
||||||
- 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"
|
- phpenv config-rm xdebug.ini || echo "xdebug not available"
|
||||||
# disable default memory limit
|
# disable default memory limit
|
||||||
- echo memory_limit = -1 >> $INI
|
- echo memory_limit = -1 >> $INI
|
||||||
|
@ -44,6 +44,8 @@ before_install:
|
||||||
install:
|
install:
|
||||||
# flags to pass to install
|
# flags to pass to install
|
||||||
- flags="--ansi --prefer-dist --no-interaction --optimize-autoloader --no-suggest --no-progress"
|
- 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
|
# install dependencies using system provided composer binary
|
||||||
- composer install $flags
|
- composer install $flags
|
||||||
# install dependencies using composer from source
|
# install dependencies using composer from source
|
||||||
|
|
Loading…
Reference in New Issue