From 50391bc92e8874486d1f58a845e239805747c753 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Mon, 28 May 2018 18:33:08 +0200 Subject: [PATCH 1/2] EIO supports PHP 7 these days, but breaks on nightly --- travis-init.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/travis-init.sh b/travis-init.sh index 44d505bc..9e41d356 100755 --- a/travis-init.sh +++ b/travis-init.sh @@ -2,11 +2,9 @@ if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then # install 'eio' PHP extension (does not support php 7) - if [[ "$TRAVIS_PHP_VERSION" != "7.0" ]]; then + if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]]; then yes "" | pecl install eio - echo "extension=eio.so" >> "$(php -r 'echo php_ini_loaded_file();')" fi - fi #set -e From f16fa53d0c0d91cf3e36c61d180ad52877487641 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Tue, 29 May 2018 18:05:34 +0200 Subject: [PATCH 2/2] Updated comment, as caught by @clue at https://github.com/reactphp/filesystem/pull/28#discussion_r191275102 --- travis-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/travis-init.sh b/travis-init.sh index 9e41d356..02e9aeab 100755 --- a/travis-init.sh +++ b/travis-init.sh @@ -1,7 +1,7 @@ #!/bin/bash if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then - # install 'eio' PHP extension (does not support php 7) + # install 'eio' PHP extension (does not support nightly) if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]]; then yes "" | pecl install eio fi