diff .travis.yml @ 1142:20b9baf6d451

Build with -Werror for the simplest case
author Matt Johnston <matt@ucc.asn.au>
date Tue, 04 Aug 2015 08:20:50 +0800
parents 3cb73e8d6122
children 624fc24cfae5 87a43bf49e37
line wrap: on
line diff
--- 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