comparison .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
comparison
equal deleted inserted replaced
1141:63ac2261e1b0 1142:20b9baf6d451
1 language: c 1 language: c
2 compiler: 2 compiler:
3 - gcc 3 - gcc
4 4
5 script: 5 script:
6 - autoconf && autoheader && ./configure $BUNDLEDLIBTOM CFLAGS="-O2 -Wall -Wno-pointer-sign" --prefix=$HOME/inst 6 - autoconf && autoheader && ./configure $BUNDLEDLIBTOM CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS" --prefix=$HOME/inst
7 - test "$NOWRITEV" && sed -i s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h || true 7 - test "$NOWRITEV" && sed -i s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h || true
8 - make install 8 - make install
9 - ~/inst/bin/dropbearkey -t rsa -f testrsa 9 - ~/inst/bin/dropbearkey -t rsa -f testrsa
10 - ~/inst/bin/dropbearkey -t dss -f testdss 10 - ~/inst/bin/dropbearkey -t dss -f testdss
11 - ~/inst/bin/dropbearkey -t ecdsa -f testec256 -s 256 11 - ~/inst/bin/dropbearkey -t ecdsa -f testec256 -s 256
15 before_install: 15 before_install:
16 - sudo apt-get update -qq 16 - sudo apt-get update -qq
17 - sudo apt-get install -qq libz-dev libtomcrypt-dev libtommath-dev 17 - sudo apt-get install -qq libz-dev libtomcrypt-dev libtommath-dev
18 18
19 env: 19 env:
20 - BUNDLEDLIBTOM=--disable-bundled-libtom 20 - BUNDLEDLIBTOM=--disable-bundled-libtom WEXTRAFLAGS=-Werror
21 - BUNDLEDLIBTOM=--enable-bundled-libtom 21 - BUNDLEDLIBTOM=--enable-bundled-libtom
22 - MULTI=1 22 - MULTI=1
23 - NOWRITEV=1 23 - NOWRITEV=1