diff .travis.yml @ 1579:8c1f762c6e9d

print config.log on failure
author Matt Johnston <matt@ucc.asn.au>
date Sun, 04 Mar 2018 15:09:41 +0800
parents fdadac70ee67
children 950913ea9976
line wrap: on
line diff
--- a/.travis.yml	Sun Mar 04 15:00:51 2018 +0800
+++ b/.travis.yml	Sun Mar 04 15:09:41 2018 +0800
@@ -42,7 +42,7 @@
 install:
   - autoconf 
   - autoheader 
-  - ./configure $CONFIGURE_FLAGS CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS $EXTRACFLAGS" --prefix="$HOME/inst"
+  - ./configure $CONFIGURE_FLAGS CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS $EXTRACFLAGS" --prefix="$HOME/inst" || (cat config.log; exit 1)
   - if [ "$NOWRITEV" = "1" ]; then sed -i -e s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h ; fi
   - make -j3 
   - test -z $DO_FUZZ || make fuzzstandalone