summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-08-04 08:20:50 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-08-04 08:20:50 +0800
commit7585d4606e120309053104d6680d359a1c1a3ac8 (patch)
treefed5a5919f19c1569288f6629c76d6d47e8528b1 /.travis.yml
parent94bff1df667e61fb8b802ce02bd71d4b204ff4f2 (diff)
Build with -Werror for the simplest case
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 0bbefde..4bfef9f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,7 +3,7 @@ compiler:
- 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 @@ before_install:
- 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