[master] b7881806b travis: give us the test output
Nils Goroll
nils.goroll at uplex.de
Wed Mar 6 10:47:07 UTC 2019
commit b7881806b595115ab5305c939e4ac95f7c4dd88e
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Wed Mar 6 11:39:02 2019 +0100
travis: give us the test output
Noticed for #2929: travis make check failed, but there is no information
as to why, because that is hidden in the test-suite log
diff --git a/.travis.yml b/.travis.yml
index 8d31d9e04..1c4e8f8b3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -55,3 +55,12 @@ script:
else
make -j3 check VERBOSE=1
fi
+ if [[ !? -ne 0 ]]
+ for f in $(find . -name test-suite.log); do
+ if ! grep -E '(ERROR|FAIL):.*[1-9]' $f >/dev/null ; then continue ; fi
+ echo ----------------------------------------------------------------------------
+ echo $f
+ echo ----------------------------------------------------------------------------
+ cat $f
+ done
+ fi
More information about the varnish-commit
mailing list