Test php 7.2
This commit is contained in:
parent
87bfe3292c
commit
0b349bef60
@ -61,7 +61,7 @@ matrix:
|
|||||||
fast_finish: true
|
fast_finish: true
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: hhvm
|
- php: hhvm
|
||||||
- php: 7.2
|
- php: '7.2'
|
||||||
- php: nightly
|
- php: nightly
|
||||||
# We exclude some combinations not usefull to save Travis CPU
|
# We exclude some combinations not usefull to save Travis CPU
|
||||||
exclude:
|
exclude:
|
||||||
|
|||||||
@ -201,8 +201,8 @@ class AllTests
|
|||||||
require_once dirname(__FILE__).'/RestAPIUserTest.php';
|
require_once dirname(__FILE__).'/RestAPIUserTest.php';
|
||||||
$suite->addTestSuite('RestAPIUserTest');
|
$suite->addTestSuite('RestAPIUserTest');
|
||||||
|
|
||||||
// Test only with php7.2
|
// Test only with php7.2 or less
|
||||||
if ((float) phpversion() < 7.2)
|
if ((float) phpversion() < 7.3)
|
||||||
{
|
{
|
||||||
require_once dirname(__FILE__).'/WebservicesProductsTest.php';
|
require_once dirname(__FILE__).'/WebservicesProductsTest.php';
|
||||||
$suite->addTestSuite('WebservicesProductsTest');
|
$suite->addTestSuite('WebservicesProductsTest');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user