From 429077cde7fa7128825c92fdfe110fae5c13b4c5 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Thu, 23 May 2019 07:47:51 +0200 Subject: [PATCH 1/2] Lock travis to xenial and keep older PHP versions to trusty --- .travis.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index fe9bd21c..45094a4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,8 +2,8 @@ language: php php: # - 5.3 # requires old distro, see below - - 5.4 - - 5.5 +# - 5.4 # requires old distro, see below +# - 5.5 # requires old distro, see below - 5.6 - 7.0 - 7.1 @@ -12,12 +12,16 @@ php: # - hhvm # requires legacy phpunit & ignore errors, see below # lock distro so new future defaults will not break the build -dist: trusty +dist: xenial matrix: include: - php: 5.3 dist: precise + - php: 5.4 + dist: trusty + - php: 5.5 + dist: trusty - php: hhvm install: composer require phpunit/phpunit:^5 --dev --no-interaction allow_failures: From 5e66968a32f1a6843f7cf0b0e29224dbc07f9f11 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Thu, 23 May 2019 07:58:51 +0200 Subject: [PATCH 2/2] Install ext-uv on PHP 7.3 --- travis-init.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/travis-init.sh b/travis-init.sh index 9ea4e6f9..63ea758c 100755 --- a/travis-init.sh +++ b/travis-init.sh @@ -45,7 +45,8 @@ if [[ "$TRAVIS_PHP_VERSION" != "hhvm" && # install 'libuv' PHP extension (does not support php 5) 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 echo "yes" | pecl install uv-beta fi