Mercurial > dropbear
comparison .travis.yml @ 1693:f9ad4d39e388
Bring back -Werror and improve travis tests
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 26 May 2020 23:53:50 +0800 |
parents | 2d3745d58843 |
children | d529a52b2f7c 32307118bc26 |
comparison
equal
deleted
inserted
replaced
1692:1051e4eea25a | 1693:f9ad4d39e388 |
---|---|
6 # use focal which provides libtommath 1.20 | 6 # use focal which provides libtommath 1.20 |
7 dist: focal | 7 dist: focal |
8 | 8 |
9 matrix: | 9 matrix: |
10 include: | 10 include: |
11 - compiler: gcc | 11 - name: "plain linux" |
12 compiler: gcc | |
12 env: WEXTRAFLAGS=-Werror | 13 env: WEXTRAFLAGS=-Werror |
13 - env: MULTI=1 WEXTRAFLAGS=-Werror | 14 - name: "multi binary" |
14 # libtom has some warnings, so no WEXTRAFLAGS | 15 env: MULTI=1 WEXTRAFLAGS=-Werror |
15 - env: CONFIGURE_FLAGS=--enable-bundled-libtom WEXTRAFLAGS="" | 16 - name: "bundled libtom, xenial, no writev()" |
17 # NOWRITEV is unrelated to libtom/xenial, test here to save a job | |
18 env: CONFIGURE_FLAGS=--enable-bundled-libtom WEXTRAFLAGS=-Werror NOWRITEV=1 | |
16 # can use an older distro with bundled libtom | 19 # can use an older distro with bundled libtom |
17 dist: xenial | 20 dist: xenial |
18 - env: NOWRITEV=1 | 21 - name: "linux clang" |
19 - os: linux | 22 os: linux |
20 compiler: clang | 23 compiler: clang |
21 - os: osx | 24 env: WEXTRAFLAGS=-Werror |
25 - name: "osx" | |
26 os: osx | |
22 compiler: clang | 27 compiler: clang |
23 env: WEXTRAFLAGS="" | 28 # OS X says daemon() and utmp are deprecated |
24 | 29 env: WEXTRAFLAGS="-Wno-deprecated-declarations -Werror" |
25 # Note: the fuzzing malloc wrapper doesn't replace free() in system libtomcrypt, so need bundled. | 30 # Note: the fuzzing malloc wrapper doesn't replace free() in system libtomcrypt, so need bundled. |
26 - env: DO_FUZZ=1 CONFIGURE_FLAGS="--enable-fuzz --disable-harden --enable-bundled-libtom" WEXTRAFLAGS="" LDFLAGS=-fsanitize=address EXTRACFLAGS=-fsanitize=address CXX=clang++ | 31 - name: "fuzzing" |
32 env: DO_FUZZ=1 CONFIGURE_FLAGS="--enable-fuzz --disable-harden --enable-bundled-libtom" WEXTRAFLAGS=-Werror LDFLAGS=-fsanitize=address EXTRACFLAGS=-fsanitize=address CXX=clang++ | |
27 compiler: clang | 33 compiler: clang |
28 # sanitizers need ptrace which is privileged https://github.com/travis-ci/travis-ci/issues/9033 | |
29 sudo: required | |
30 | 34 |
31 # container-based builds | 35 # container-based builds |
32 addons: | 36 addons: |
33 apt: | 37 apt: |
34 packages: | 38 packages: |