From 79ca43cc00272160eed6c21cc1c0c89fc99ae5d2 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Fri, 26 Oct 2018 17:23:32 +0200 Subject: [PATCH 1/2] Test against PHP 7.3 on travis --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 7af713a4..0af783a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ php: - 7.0 - 7.1 - 7.2 + - 7.3 - hhvm # ignore errors, see below # lock distro so new future defaults will not break the build From 7c919c44b1242073ee5606b4b0145ffbaf0babbc Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Sun, 11 Nov 2018 22:35:29 +0100 Subject: [PATCH 2/2] Don't install ext-event and ext-ev loops on PHP 7.3 --- travis-init.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/travis-init.sh b/travis-init.sh index 29ce884a..9ed7afaa 100755 --- a/travis-init.sh +++ b/travis-init.sh @@ -6,7 +6,8 @@ if [[ "$TRAVIS_PHP_VERSION" != "hhvm" && "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]]; then # install 'event' and 'ev' PHP extension - if [[ "$TRAVIS_PHP_VERSION" != "5.3" ]]; then + if [[ "$TRAVIS_PHP_VERSION" != "5.3" && + "$TRAVIS_PHP_VERSION" != "7.3" ]]; then echo "yes" | pecl install event echo "yes" | pecl install ev fi @@ -14,7 +15,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" && - "$TRAVIS_PHP_VERSION" != "7.2" ]]; then + "$TRAVIS_PHP_VERSION" != "7.2" && + "$TRAVIS_PHP_VERSION" != "7.3" ]]; then curl http://pecl.php.net/get/libevent-0.1.0.tgz | tar -xz pushd libevent-0.1.0 phpize @@ -28,7 +30,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" && - "$TRAVIS_PHP_VERSION" != "7.2" ]]; then + "$TRAVIS_PHP_VERSION" != "7.2" && + "$TRAVIS_PHP_VERSION" != "7.3" ]]; then git clone --recursive https://github.com/m4rw3r/php-libev pushd php-libev phpize