mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 02:46:58 +00:00
Bring back -Werror and improve travis tests
This commit is contained in:
parent
b4bd23b4d2
commit
6abf756e51
28
.travis.yml
28
.travis.yml
@ -8,25 +8,29 @@ dist: focal
|
|||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- compiler: gcc
|
- name: "plain linux"
|
||||||
|
compiler: gcc
|
||||||
env: WEXTRAFLAGS=-Werror
|
env: WEXTRAFLAGS=-Werror
|
||||||
- env: MULTI=1 WEXTRAFLAGS=-Werror
|
- name: "multi binary"
|
||||||
# libtom has some warnings, so no WEXTRAFLAGS
|
env: MULTI=1 WEXTRAFLAGS=-Werror
|
||||||
- env: CONFIGURE_FLAGS=--enable-bundled-libtom WEXTRAFLAGS=""
|
- name: "bundled libtom, xenial, no writev()"
|
||||||
|
# NOWRITEV is unrelated to libtom/xenial, test here to save a job
|
||||||
|
env: CONFIGURE_FLAGS=--enable-bundled-libtom WEXTRAFLAGS=-Werror NOWRITEV=1
|
||||||
# can use an older distro with bundled libtom
|
# can use an older distro with bundled libtom
|
||||||
dist: xenial
|
dist: xenial
|
||||||
- env: NOWRITEV=1
|
- name: "linux clang"
|
||||||
- os: linux
|
os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
- os: osx
|
env: WEXTRAFLAGS=-Werror
|
||||||
|
- name: "osx"
|
||||||
|
os: osx
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: WEXTRAFLAGS=""
|
# OS X says daemon() and utmp are deprecated
|
||||||
|
env: WEXTRAFLAGS="-Wno-deprecated-declarations -Werror"
|
||||||
# Note: the fuzzing malloc wrapper doesn't replace free() in system libtomcrypt, so need bundled.
|
# Note: the fuzzing malloc wrapper doesn't replace free() in system libtomcrypt, so need bundled.
|
||||||
- env: DO_FUZZ=1 CONFIGURE_FLAGS="--enable-fuzz --disable-harden --enable-bundled-libtom" WEXTRAFLAGS="" LDFLAGS=-fsanitize=address EXTRACFLAGS=-fsanitize=address CXX=clang++
|
- name: "fuzzing"
|
||||||
|
env: DO_FUZZ=1 CONFIGURE_FLAGS="--enable-fuzz --disable-harden --enable-bundled-libtom" WEXTRAFLAGS=-Werror LDFLAGS=-fsanitize=address EXTRACFLAGS=-fsanitize=address CXX=clang++
|
||||||
compiler: clang
|
compiler: clang
|
||||||
# sanitizers need ptrace which is privileged https://github.com/travis-ci/travis-ci/issues/9033
|
|
||||||
sudo: required
|
|
||||||
|
|
||||||
# container-based builds
|
# container-based builds
|
||||||
addons:
|
addons:
|
||||||
|
Loading…
Reference in New Issue
Block a user