From 0eebeedd0325609bd6785c4e1990109ea3052f23 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Tue, 15 Aug 2017 10:26:53 +1200 Subject: [PATCH] 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. --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6487c4d6a..31a59d498 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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