From 8879b8d50bbee5ba271d60e2eeac98cebe9e70f4 Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Fri, 1 Dec 2017 10:55:07 -0200 Subject: [PATCH 1/2] Test against PHP 7.2 --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 63db6ca1..b51dcb9b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ php: - 5.6 - 7.0 - 7.1 + - 7.2 - hhvm # ignore errors, see below # lock distro so new future defaults will not break the build From c619c8b986a8a84c2ddf5b9977a854104a4d3af2 Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Fri, 1 Dec 2017 15:53:02 -0200 Subject: [PATCH 2/2] Test PHP 7.2 --- travis-init.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/travis-init.sh b/travis-init.sh index 87456016..c8c8b55d 100755 --- a/travis-init.sh +++ b/travis-init.sh @@ -10,7 +10,8 @@ if [[ "$TRAVIS_PHP_VERSION" != "hhvm" && # install 'libevent' PHP extension (does not support php 7) if [[ "$TRAVIS_PHP_VERSION" != "7.0" && - "$TRAVIS_PHP_VERSION" != "7.1" ]]; then + "$TRAVIS_PHP_VERSION" != "7.1" && + "$TRAVIS_PHP_VERSION" != "7.2" ]]; then curl http://pecl.php.net/get/libevent-0.1.0.tgz | tar -xz pushd libevent-0.1.0 phpize @@ -23,7 +24,8 @@ if [[ "$TRAVIS_PHP_VERSION" != "hhvm" && # install 'libev' PHP extension (does not support php 7) if [[ "$TRAVIS_PHP_VERSION" != "7.0" && - "$TRAVIS_PHP_VERSION" != "7.1" ]]; then + "$TRAVIS_PHP_VERSION" != "7.1" && + "$TRAVIS_PHP_VERSION" != "7.2" ]]; then git clone --recursive https://github.com/m4rw3r/php-libev pushd php-libev phpize