From: Dan Fandrich Date: Wed, 29 Aug 2018 20:21:36 +0000 (+0200) Subject: Display the test log on a Travis test failure. X-Git-Tag: libexif-0_6_22-release~93 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibexif.git;a=commitdiff_plain;h=fc6f019feec9de68a15b7e6720be8402130ba631 Display the test log on a Travis test failure. --- diff --git a/.travis.yml b/.travis.yml index 3f5ba68..95d0620 100644 --- a/.travis.yml +++ b/.travis.yml @@ -72,10 +72,10 @@ script: - if [ "$CONFIG" = "stackprotect" ] ; then CFLAGS='-g -O0 -fstack-protector-all'; fi - if [ "$CONFIG" = "clang6" ] ; then CFLAGS='-Wall -Wextra -O3'; export CC=clang-6.0; fi - if [ "$CONFIG" = "gcc8" ] ; then CFLAGS='-Wall -Wextra -O3'; export export CC=gcc-8; fi - - if [ "$CONFIG" = "sanitize" ] ; then CFLAGS='-Wall -Wextra -O3 -fsanitize=address -fsanitize=undefined'; export CC=clang-6.0; fi + - if [ "$CONFIG" = "sanitize" ] ; then CFLAGS='-g -Wall -Wextra -fsanitize=address -fsanitize=undefined'; export CC=clang-6.0; fi - ./configure --prefix="${HOME}" CFLAGS="$CFLAGS" || { tail -300 config.log; false; } - make - - make check + - make check || { tail -300 test/test-suite.log; false; } - make install compiler: