From f5a9259df565411fc3ead8d84b79d1291c868401 Mon Sep 17 00:00:00 2001 From: Suresh Sundriyal Date: Sun, 29 Mar 2015 15:28:49 -0700 Subject: [PATCH] [travis] Print out the logs after failure. If `make check` fails, the && will short out and will not print the logs when it is most useful. Print out the log as an 'after_script'. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e07846ed..08a6affa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,8 @@ before_install: - wget http://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz -O /tmp/automake.tar.gz - tar -xvf /tmp/automake.tar.gz - (cd automake-1.15 && ./configure && make && sudo make install) -script: ./autogen.sh && ./configure && make && make check && cat test/test-suite.log +script: ./autogen.sh && ./configure && make && make check +after_script: [ -e test/test-suite.log ] && cat test/test-suite.log env: global: