From bd5729f9411098852f6fd917a744a62fb66961b1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 1 Jul 2018 11:59:06 +0200 Subject: [PATCH] Test travis --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 667f0b4794c..18925189f86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -349,12 +349,14 @@ script: - | echo "Unit testing" # Ensure we catch errors. Set this to +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 set +e - | - echo "Output 50 latest lines of dolibarr.log" + echo Output 50 latest lines of dolibarr.log" tail -n 50 documents/dolibarr.log after_script: