mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
NEW Compatibility with PHP 7.2
This commit is contained in:
parent
bbf755f0b1
commit
2caeafc03b
|
|
@ -61,7 +61,6 @@ matrix:
|
|||
fast_finish: true
|
||||
allow_failures:
|
||||
- php: hhvm
|
||||
- php: '7.2'
|
||||
- php: nightly
|
||||
# We exclude some combinations not usefull to save Travis CPU
|
||||
exclude:
|
||||
|
|
@ -73,7 +72,7 @@ matrix:
|
|||
env: DB=postgresql
|
||||
- php: '7.0'
|
||||
env: DB=postgresql
|
||||
- php: '7.2'
|
||||
- php: '7.1'
|
||||
env: DB=postgresql
|
||||
- php: hhvm
|
||||
env: DB=postgresql
|
||||
|
|
|
|||
|
|
@ -202,8 +202,8 @@ class AllTests
|
|||
$suite->addTestSuite('RestAPIUserTest');
|
||||
|
||||
// Test only with php7.2 or less
|
||||
if ((float) phpversion() < 7.3)
|
||||
{
|
||||
//if ((float) phpversion() < 7.3)
|
||||
//{
|
||||
require_once dirname(__FILE__).'/WebservicesProductsTest.php';
|
||||
$suite->addTestSuite('WebservicesProductsTest');
|
||||
require_once dirname(__FILE__).'/WebservicesInvoicesTest.php';
|
||||
|
|
@ -216,7 +216,7 @@ class AllTests
|
|||
$suite->addTestSuite('WebservicesThirdpartyTest');
|
||||
require_once dirname(__FILE__).'/WebservicesUserTest.php';
|
||||
$suite->addTestSuite('WebservicesUserTest');
|
||||
}
|
||||
//}
|
||||
|
||||
require_once dirname(__FILE__).'/ExportTest.php';
|
||||
$suite->addTestSuite('ExportTest');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user