Test travis

This commit is contained in:
Laurent Destailleur 2018-07-01 23:39:14 +02:00
parent 41e1370f7a
commit 884e8cee90

View File

@ -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: