comparison .travis.yml @ 1567:2799a1d55b59

don't try clang-5.0
author Matt Johnston <matt@ucc.asn.au>
date Thu, 01 Mar 2018 22:58:39 +0800
parents 3fc0e9a0978b
children 67cb1983500b
comparison
equal deleted inserted replaced
1566:3fc0e9a0978b 1567:2799a1d55b59
18 compiler: clang 18 compiler: clang
19 env: CONFIGURE_FLAGS=--enable-bundled-libtom WEXTRAFLAGS="" 19 env: CONFIGURE_FLAGS=--enable-bundled-libtom WEXTRAFLAGS=""
20 - os: osx 20 - os: osx
21 compiler: clang 21 compiler: clang
22 env: WEXTRAFLAGS="" 22 env: WEXTRAFLAGS=""
23 - env: DO_FUZZ=1 CONFIGURE_FLAGS="--enable-fuzz --disable-harden" EXTRACFLAGS=-fsanitize=address CC="clang-5.0" LDFLAGS=-fsanitize=address 23 - env: DO_FUZZ=1 CONFIGURE_FLAGS="--enable-fuzz --disable-harden" EXTRACFLAGS=-fsanitize=address LDFLAGS=-fsanitize=address
24 compiler: clang
24 25
25 # container-based builds 26 # container-based builds
26 sudo: false 27 sudo: false
27 addons: 28 addons:
28 apt: 29 apt:
30 # packages list: https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise 31 # packages list: https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
31 - zlib1g-dev 32 - zlib1g-dev
32 - libtomcrypt-dev 33 - libtomcrypt-dev
33 - libtommath-dev 34 - libtommath-dev
34 - mercurial 35 - mercurial
35 - clang-5.0
36 36
37 before_install: 37 before_install:
38 - if [ "$CC" = "clang" ]; then WEXTRAFLAGS="$WEXTRAFLAGS -Wno-error=incompatible-library-redeclaration" ; fi # workaround 38 - if [ "$CC" = "clang" ]; then WEXTRAFLAGS="$WEXTRAFLAGS -Wno-error=incompatible-library-redeclaration" ; fi # workaround
39 39
40 install: 40 install:
41 - autoconf && autoheader && ./configure $CONFIGURE_FLAGS CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS $EXTRACFLAGS" --prefix="$HOME/inst" 41 - autoconf && autoheader && ./configure $CONFIGURE_FLAGS CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS $EXTRACFLAGS" --prefix="$HOME/inst"
42 - if [ "$NOWRITEV" = "1" ]; then sed -i -e s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h ; fi 42 - if [ "$NOWRITEV" = "1" ]; then sed -i -e s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h ; fi
43 - make -j3 43 - make -j3
44 - test -z $DO_FUZZ || make fuzzstandalone 44 - test -z $DO_FUZZ || make fuzzstandalone
45 # avoid concurrent install, osx/freebsd is racey (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208093) 45 # avoid concurrent install, osx/freebsd is racey (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208093)
46 - make install 46 - make install
47 47
48 script: 48 script:
49 - ~/inst/bin/dropbearkey -t rsa -f testrsa 49 - ~/inst/bin/dropbearkey -t rsa -f testrsa