NEW: Test php 7.2

Travis now supports PHP 7.2 testing, and we should add this to our suite
so that SilverStripe 4 can be released with PHP 7.2 support.

PHP 7.2 is due for released in November, a little after when SS4 is
expected to go stable.
This commit is contained in:
Sam Minnee 2017-08-15 10:26:53 +12:00
parent c0211927aa
commit 0eebeedd03
1 changed files with 6 additions and 1 deletions

View File

@ -36,6 +36,11 @@ matrix:
- DB=MYSQL
- PDO=1
- PHPUNIT_COVERAGE_TEST=framework
- php: 7.2
env:
- DB=MYSQL
- PDO=1
- PHPUNIT_TEST=framework
- php: 7.0
env:
- DB=MYSQL
@ -54,7 +59,7 @@ before_script:
- export CORE_RELEASE=$TRAVIS_BRANCH
- printf "\n" | pecl install imagick
- phpenv rehash
- phpenv config-rm xdebug.ini
- phpenv config-rm xdebug.ini || true
- echo 'memory_limit = 2048M' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
# Temporarily update to 1.5.x-dev of composer