comparison .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
comparison
equal deleted inserted replaced
1578:fdadac70ee67 1579:8c1f762c6e9d
40 - if [ "$CC" = "clang" ]; then WEXTRAFLAGS="$WEXTRAFLAGS -Wno-error=incompatible-library-redeclaration" ; fi # workaround 40 - if [ "$CC" = "clang" ]; then WEXTRAFLAGS="$WEXTRAFLAGS -Wno-error=incompatible-library-redeclaration" ; fi # workaround
41 41
42 install: 42 install:
43 - autoconf 43 - autoconf
44 - autoheader 44 - autoheader
45 - ./configure $CONFIGURE_FLAGS CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS $EXTRACFLAGS" --prefix="$HOME/inst" 45 - ./configure $CONFIGURE_FLAGS CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS $EXTRACFLAGS" --prefix="$HOME/inst" || (cat config.log; exit 1)
46 - if [ "$NOWRITEV" = "1" ]; then sed -i -e s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h ; fi 46 - if [ "$NOWRITEV" = "1" ]; then sed -i -e s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h ; fi
47 - make -j3 47 - make -j3
48 - test -z $DO_FUZZ || make fuzzstandalone 48 - test -z $DO_FUZZ || make fuzzstandalone
49 # avoid concurrent install, osx/freebsd is racey (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208093) 49 # avoid concurrent install, osx/freebsd is racey (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208093)
50 - make install 50 - make install