From c39939fb2142e4b0e0eaef984d02ce6efaf14f60 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 14 Jan 2026 17:48:49 +0100 Subject: [PATCH] Log travis --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index c0207ddc95c..bf810ea8cb4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -571,6 +571,8 @@ script: # Execute phpunit, check its exit status and that the phpunit output shows a test summary phpunit -d memory_limit=-1 -c test/phpunit/phpunittest.xml test/phpunit/AllTests.php | tee /dev/tty | grep -qE "(OK .*[0-9]+ tests.*[0-9]+ assertions|Tests: [0-9]+)" ; phpunitresult=$((PIPESTATUS[0]?PIPESTATUS[0]:PIPESTATUS[2])) echo "Phpunit return code = $phpunitresult" + echo "Content of end of apache error.log" + sudo tail -n 200 /var/log/apache2/travis_error_log # Comment next line if you want to go to the end to see the dolibarr.log file. [ $phpunitresult == 0 ] || exit $phpunitresult echo