[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'.
This commit is contained in:
Suresh Sundriyal 2015-03-29 15:28:49 -07:00
parent 033c861028
commit f5a9259df5

View File

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