# HG changeset patch # User Matt Johnston # Date 1438647650 -28800 # Node ID 20b9baf6d4519cb937db265c574db11b97b09afa # Parent 63ac2261e1b03940290cf584d65cf16bb1258466 Build with -Werror for the simplest case diff -r 63ac2261e1b0 -r 20b9baf6d451 .travis.yml --- a/.travis.yml Mon Aug 03 23:17:50 2015 +0800 +++ b/.travis.yml Tue Aug 04 08:20:50 2015 +0800 @@ -3,7 +3,7 @@ - gcc script: - - autoconf && autoheader && ./configure $BUNDLEDLIBTOM CFLAGS="-O2 -Wall -Wno-pointer-sign" --prefix=$HOME/inst + - autoconf && autoheader && ./configure $BUNDLEDLIBTOM CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS" --prefix=$HOME/inst - test "$NOWRITEV" && sed -i s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h || true - make install - ~/inst/bin/dropbearkey -t rsa -f testrsa @@ -17,7 +17,7 @@ - sudo apt-get install -qq libz-dev libtomcrypt-dev libtommath-dev env: - - BUNDLEDLIBTOM=--disable-bundled-libtom + - BUNDLEDLIBTOM=--disable-bundled-libtom WEXTRAFLAGS=-Werror - BUNDLEDLIBTOM=--enable-bundled-libtom - MULTI=1 - NOWRITEV=1