From d15f0d7167618df0b431af5e8c33cc18046fa799 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Sat, 15 Feb 2020 02:55:17 +0100 Subject: travis-ci: If make check fails, cat the test-suite.log files This should help with finding the actual causes of test suite failures during travis-ci checks. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2b9f7e68d..412af732d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,9 +25,9 @@ compiler: script: - PATH=/usr/local/opt/gettext/bin:$PATH autoreconf -i -f - date; ls -l configure - - ./configure --enable-vusb && make && make check && sudo PATH=$PATH make install && examples/sample-afl && make clean + - ./configure --enable-vusb && make && if make check; then :; else cat libgphoto2_port/test/test-suite.log test/test-suite.log; false; fi && sudo PATH=$PATH make install && examples/sample-afl && make clean - date; ls -l configure - - ./configure --enable-vusb --with-camlibs=all,outdated,jd11 && make && make check && sudo PATH=$PATH make install && examples/sample-afl && make clean + - ./configure --enable-vusb --with-camlibs=all,outdated,jd11 && make && if make check; then :; else cat libgphoto2_port/test/test-suite.log test/test-suite.log; false; fi && sudo PATH=$PATH make install && examples/sample-afl && make clean notifications: email: -- cgit v1.2.1