[BUG FIX] TravisCI: show build error or test log to know what is wrong (#161)

if error occured (cmake bug, autotools OK, increase tail).
This commit is contained in:
Franck HOUSSEN
2018-10-11 16:21:31 +02:00
committed by Sylvestre Ledru
parent 8f95a7d772
commit 95360d81d6
+2 -2
View File
@@ -36,5 +36,5 @@ jobs:
after_failure:
# show build error or test log to know what is wrong if errors occured.
- if [[ -f build/Testing/Temporary/LastTest.log ]]; then tail -n 250 build/Testing/Temporary/LastTest.log; fi
- find . -name test-suite.log | xargs tail -n 250
- if [[ -f $TRAVIS_BUILD_DIR/build/Testing/Temporary/LastTest.log ]]; then tail -n 300 $TRAVIS_BUILD_DIR/build/Testing/Temporary/LastTest.log; fi
- find . -name test-suite.log | xargs tail -n 300