From 2d66c9c2eb2232accdfddf33693c5b90a51ee817 Mon Sep 17 00:00:00 2001 From: Alexander Miehe Date: Tue, 5 Feb 2019 15:03:53 +0100 Subject: [PATCH 1/5] * run tests against php 7.3 * run tests with phpunit 8.0 * allow failures for dev-master runs --- .travis.yml | 7 ++++++- composer.json | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a6be575..07b8880 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,12 +5,17 @@ sudo: false php: - 7.1 - 7.2 - - nightly + - 7.3 env: - PHPUNIT=7.* + - PHPUNIT=8.* - PHPUNIT=dev-master MIN_STABILITY=dev +matrix: + allow_failures: + - env: PHPUNIT=dev-master MIN_STABILITY=dev + cache: directories: - $HOME/.composer diff --git a/composer.json b/composer.json index b7bdfcb..ee71d33 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ ], "require": { "php": ">=7.1", - "phpunit/phpunit": "^7.0" + "phpunit/phpunit": "^7.0 || ^8.0" }, "autoload": { "psr-4": { From 27054db66431d81e2f79d55d73ff2c1f11f3087d Mon Sep 17 00:00:00 2001 From: Alexander Miehe Date: Tue, 5 Feb 2019 15:14:54 +0100 Subject: [PATCH 2/5] * exclude some builds from running because phpunit does not support this php version anymore --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 07b8880..524d92d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,8 +13,11 @@ env: - PHPUNIT=dev-master MIN_STABILITY=dev matrix: - allow_failures: - - env: PHPUNIT=dev-master MIN_STABILITY=dev + exclude: + - php: 7.1 + env: PHPUNIT=8.* + - php: 7.1 + env: PHPUNIT=dev-master MIN_STABILITY=dev cache: directories: From 8570c7d35eee81fe1d3003cfc4cedca3dcd73db4 Mon Sep 17 00:00:00 2001 From: Alexander Miehe Date: Sat, 9 Feb 2019 16:00:53 +0100 Subject: [PATCH 3/5] * add nightly to travis --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 524d92d..b8ef68f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ php: - 7.1 - 7.2 - 7.3 + - nightly env: - PHPUNIT=7.* From 963dc52e46c04681c86e0420d490733cc5d8c736 Mon Sep 17 00:00:00 2001 From: Alexander Miehe Date: Sat, 9 Feb 2019 16:08:57 +0100 Subject: [PATCH 4/5] allow php nightly to fail * php nightly is for now php 8.0.0-dev instead of 7.4.0-dev so i allow them to fail for now * see also this tweet and comments https://twitter.com/kelunik/status/1094228271942848518?s=21 --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index b8ef68f..82e3df9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,8 @@ matrix: env: PHPUNIT=8.* - php: 7.1 env: PHPUNIT=dev-master MIN_STABILITY=dev + allow_failures: + - php: nightly cache: directories: From e988a9df04948dd858f753d646aa390faa569474 Mon Sep 17 00:00:00 2001 From: Alexander Miehe Date: Tue, 12 Feb 2019 15:22:50 +0100 Subject: [PATCH 5/5] Add php 7.4 to metric --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 82e3df9..3771ed4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ php: - 7.1 - 7.2 - 7.3 + - 7.4snapshot - nightly env: