[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'.
pull/165/head
Suresh Sundriyal 10 years ago
parent 033c861028
commit f5a9259df5

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

Loading…
Cancel
Save