diff --git a/.travis.yml b/.travis.yml index c6c5fb0ccb5..ea31a6cbe28 100644 --- a/.travis.yml +++ b/.travis.yml @@ -350,7 +350,7 @@ 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" @@ -363,8 +363,8 @@ script: after_script: - | - #echo "After script - Debugging informations for file dolibarr.log (latest 50 lines)" - #tail -n 50 $TRAVIS_BUILD_DIR/documents/dolibarr.log + echo "After script - Debugging informations for file dolibarr.log (latest 50 lines)" + tail -n 50 $TRAVIS_BUILD_DIR/documents/dolibarr.log after_success: