Test php 7.2

This commit is contained in:
Laurent Destailleur 2017-11-17 17:15:23 +01:00
parent 87bfe3292c
commit 0b349bef60
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

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