Mercurial > dropbear
comparison .travis.yml @ 1581:950913ea9976
try fix travis sanitizer
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 04 Mar 2018 15:18:20 +0800 |
parents | 8c1f762c6e9d |
children | d17a6bab2179 |
comparison
equal
deleted
inserted
replaced
1579:8c1f762c6e9d | 1581:950913ea9976 |
---|---|
7 include: | 7 include: |
8 # subsequent matrix options use these first settings | 8 # subsequent matrix options use these first settings |
9 - os: linux | 9 - os: linux |
10 compiler: gcc | 10 compiler: gcc |
11 env: WEXTRAFLAGS=-Werror | 11 env: WEXTRAFLAGS=-Werror |
12 sudo: false | |
12 - env: MULTI=1 WEXTRAFLAGS=-Werror | 13 - env: MULTI=1 WEXTRAFLAGS=-Werror |
13 # libtom has some warnings, so no WEXTRAFLAGS | 14 # libtom has some warnings, so no WEXTRAFLAGS |
14 - env: CONFIGURE_FLAGS=--enable-bundled-libtom WEXTRAFLAGS="" | 15 - env: CONFIGURE_FLAGS=--enable-bundled-libtom WEXTRAFLAGS="" |
15 - env: NOWRITEV=1 WEXTRAFLAGS=-Werror | 16 - env: NOWRITEV=1 WEXTRAFLAGS=-Werror |
16 # libtomcrypt 1.18.1 fixes clang problems, distro doesn't have that yet | 17 # libtomcrypt 1.18.1 fixes clang problems, distro doesn't have that yet |
19 env: CONFIGURE_FLAGS=--enable-bundled-libtom WEXTRAFLAGS="" | 20 env: CONFIGURE_FLAGS=--enable-bundled-libtom WEXTRAFLAGS="" |
20 - os: osx | 21 - os: osx |
21 compiler: clang | 22 compiler: clang |
22 env: WEXTRAFLAGS="" | 23 env: WEXTRAFLAGS="" |
23 | 24 |
24 # TODO: fuzzing malloc wrapper doesn't replace free() in system libtomcrypt | 25 # Note: the fuzzing malloc wrapper doesn't replace free() in system libtomcrypt, so need bundled. |
25 - env: DO_FUZZ=1 CONFIGURE_FLAGS="--enable-fuzz --disable-harden --enable-bundled-libtom" WEXTRAFLAGS="" LDFLAGS=-fsanitize=address EXTRACFLAGS=-fsanitize=address | 26 - env: DO_FUZZ=1 CONFIGURE_FLAGS="--enable-fuzz --disable-harden --enable-bundled-libtom" WEXTRAFLAGS="" LDFLAGS=-fsanitize=address EXTRACFLAGS=-fsanitize=address |
26 compiler: clang | 27 compiler: clang |
28 # sanitizers need ptrace which is privileged https://github.com/travis-ci/travis-ci/issues/9033 | |
29 sudo: required | |
27 | 30 |
28 # container-based builds | 31 # container-based builds |
29 sudo: false | |
30 addons: | 32 addons: |
31 apt: | 33 apt: |
32 packages: | 34 packages: |
33 # packages list: https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise | 35 # packages list: https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise |
34 - zlib1g-dev | 36 - zlib1g-dev |