From 0b349bef6087a9eaa07f6c8f4b8a47ecfd45feb4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 17 Nov 2017 17:15:23 +0100 Subject: [PATCH] Test php 7.2 --- .travis.yml | 2 +- test/phpunit/AllTests.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6ead8d13243..24577f135d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -61,7 +61,7 @@ matrix: fast_finish: true allow_failures: - php: hhvm - - php: 7.2 + - php: '7.2' - php: nightly # We exclude some combinations not usefull to save Travis CPU exclude: diff --git a/test/phpunit/AllTests.php b/test/phpunit/AllTests.php index a0e617bbfc9..115394fbbbe 100644 --- a/test/phpunit/AllTests.php +++ b/test/phpunit/AllTests.php @@ -201,8 +201,8 @@ class AllTests require_once dirname(__FILE__).'/RestAPIUserTest.php'; $suite->addTestSuite('RestAPIUserTest'); - // Test only with php7.2 - if ((float) phpversion() < 7.2) + // Test only with php7.2 or less + if ((float) phpversion() < 7.3) { require_once dirname(__FILE__).'/WebservicesProductsTest.php'; $suite->addTestSuite('WebservicesProductsTest');