NEW Compatibility with PHP 7.2
This commit is contained in:
parent
bbf755f0b1
commit
2caeafc03b
@ -61,7 +61,6 @@ matrix:
|
|||||||
fast_finish: true
|
fast_finish: true
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: hhvm
|
- php: hhvm
|
||||||
- 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:
|
||||||
@ -73,7 +72,7 @@ matrix:
|
|||||||
env: DB=postgresql
|
env: DB=postgresql
|
||||||
- php: '7.0'
|
- php: '7.0'
|
||||||
env: DB=postgresql
|
env: DB=postgresql
|
||||||
- php: '7.2'
|
- php: '7.1'
|
||||||
env: DB=postgresql
|
env: DB=postgresql
|
||||||
- php: hhvm
|
- php: hhvm
|
||||||
env: DB=postgresql
|
env: DB=postgresql
|
||||||
|
|||||||
@ -202,8 +202,8 @@ class AllTests
|
|||||||
$suite->addTestSuite('RestAPIUserTest');
|
$suite->addTestSuite('RestAPIUserTest');
|
||||||
|
|
||||||
// Test only with php7.2 or less
|
// Test only with php7.2 or less
|
||||||
if ((float) phpversion() < 7.3)
|
//if ((float) phpversion() < 7.3)
|
||||||
{
|
//{
|
||||||
require_once dirname(__FILE__).'/WebservicesProductsTest.php';
|
require_once dirname(__FILE__).'/WebservicesProductsTest.php';
|
||||||
$suite->addTestSuite('WebservicesProductsTest');
|
$suite->addTestSuite('WebservicesProductsTest');
|
||||||
require_once dirname(__FILE__).'/WebservicesInvoicesTest.php';
|
require_once dirname(__FILE__).'/WebservicesInvoicesTest.php';
|
||||||
@ -216,7 +216,7 @@ class AllTests
|
|||||||
$suite->addTestSuite('WebservicesThirdpartyTest');
|
$suite->addTestSuite('WebservicesThirdpartyTest');
|
||||||
require_once dirname(__FILE__).'/WebservicesUserTest.php';
|
require_once dirname(__FILE__).'/WebservicesUserTest.php';
|
||||||
$suite->addTestSuite('WebservicesUserTest');
|
$suite->addTestSuite('WebservicesUserTest');
|
||||||
}
|
//}
|
||||||
|
|
||||||
require_once dirname(__FILE__).'/ExportTest.php';
|
require_once dirname(__FILE__).'/ExportTest.php';
|
||||||
$suite->addTestSuite('ExportTest');
|
$suite->addTestSuite('ExportTest');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user