about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-10-10 19:10:55 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-10-10 19:10:55 +0200
commit559c143587e87235ffd6aea46d1701afe0a501ca (patch)
tree0bcc403b826ff5da2fa7c121e938c5a053f3e394
parent8e5dafdea5ece162acdec66ba3f77c8af44f124e (diff)
downloadprofani-tty-559c143587e87235ffd6aea46d1701afe0a501ca.tar.gz
travis: show log in case make check failed
-rwxr-xr-xtravis-build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/travis-build.sh b/travis-build.sh
index 05dcedb0..97759b92 100755
--- a/travis-build.sh
+++ b/travis-build.sh
@@ -69,6 +69,9 @@ do
     ./configure $flags
     make
     make check
+    if [ $? -eq 1 ]; then
+        cat ./test-suite.log
+    fi
     ./profanity -v
     make clean