summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2020-02-15 02:55:17 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2020-02-15 02:55:17 +0100
commitd15f0d7167618df0b431af5e8c33cc18046fa799 (patch)
tree85dd7de317ef5c93cfd2310f54485e3eecd098a1 /.travis.yml
parent29f61dd4ace7ee41bfeeb08dabbc090a30076b30 (diff)
downloadlibgphoto2-d15f0d7167618df0b431af5e8c33cc18046fa799.tar.gz
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.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files 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: