Skip to content

Commit 987daa9

Browse files
committed
get rid of the ASAN travis build
Now it's broken even in the old deprecated Ubuntu system, I can't get it to work and I'm tired of fighting it. With the valgrind build there's not much point anyway. Feel free to get it to work if you know how. (cherry picked from commit a24d282)
1 parent 2c96291 commit 987daa9

1 file changed

Lines changed: 1 addition & 39 deletions

File tree

.travis.yml

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,12 @@ language: cpp
22

33
script:
44
- |
5-
if test "$BUILD_TYPE" = "asan"; then
6-
sudo add-apt-repository ppa:litenstein/backports -y
7-
sudo apt-get update -q
8-
sudo apt-get install libzstd1-dev -y
9-
fi
105
- ./autogen.sh
116
- ./configure --prefix=$PWD/_inst
127
- make -s -j $(getconf _NPROCESSORS_ONLN)
138
- |
149
if test "$TRAVIS_OS_NAME" = "linux"; then
15-
if test "$BUILD_TYPE" != "asan"; then # asan uses old version of Ubuntu
16-
strict="-strict"
17-
fi
10+
strict="-strict"
1811
if test -n "$VALGRIND"; then
1912
# See tests/README.
2013
sudo /sbin/setcap cap_sys_chroot+ep /usr/lib/valgrind/memcheck-amd64-linux
@@ -60,29 +53,6 @@ matrix:
6053
compiler: clang
6154
env: VALGRIND=1
6255
dist: xenial
63-
- os: linux
64-
sudo: true # for setcap so we can run the tests in chroot.
65-
compiler: clang
66-
env: BUILD_TYPE=asan
67-
dist: trusty
68-
# Sanitizer builds with newer travis fail for unknown reason without giving any message.
69-
group: deprecated-2017Q4
70-
# And this old version doesn't have zstd, so get it explicitly.
71-
addons:
72-
apt:
73-
packages:
74-
- gcc
75-
- clang
76-
- libcap-ng-dev
77-
- libcap-ng-utils
78-
- liblzo2-dev
79-
- docbook2x
80-
- realpath
81-
- gdb
82-
- valgrind
83-
- libarchive-dev
84-
- expect
85-
- telnet
8656
- os: linux
8757
sudo: true # for setcap so we can run the tests in chroot.
8858
compiler: clang
@@ -91,14 +61,6 @@ matrix:
9161
allow_failures:
9262

9363
before_script:
94-
- |
95-
if [ "$BUILD_TYPE" == "asan" ]; then
96-
export SAN_FLAGS="-fsanitize=address,leak -fsanitize-address-use-after-scope -fno-omit-frame-pointer"
97-
fi
98-
- |
99-
if [ "$BUILD_TYPE" == "msan" ]; then
100-
export SAN_FLAGS="-fsanitize=memory -fno-omit-frame-pointer"
101-
fi
10264
- |
10365
if [ "$BUILD_TYPE" == "ubsan" ]; then
10466
export SAN_FLAGS="-fsanitize=undefined -fno-omit-frame-pointer"

0 commit comments

Comments
 (0)