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');