From f5980f23457d1829062d845c3e4c6aee56851c8e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 27 Mar 2023 08:27:31 +0200 Subject: [PATCH] Restore error on phpunit error --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0f1b1a5fdff..1f4fc328a49 100644 --- a/.travis.yml +++ b/.travis.yml @@ -57,7 +57,7 @@ addons: env: global: # Set to true for very verbose output - - DEBUG=true + - DEBUG=false jobs: fast_finish: true @@ -474,7 +474,7 @@ script: - | echo "Unit testing" # Ensure we catch errors. Set this to +e instead of -e if you want to go to the end to see dolibarr.log file. - set +e + set -e phpunit -d memory_limit=-1 -c test/phpunit/phpunittest.xml test/phpunit/AllTests.php phpunitresult=$? echo "Phpunit return code = $phpunitresult"