Files
sss/.travis.yml
Daan Sprenkels ccb2ea3276 Revert "travis: Allow ASAN=1 to fail on linux because of LSAN bug"
This reverts commit b01263bdc9.

The LSAN bug seems to have been fixed. Re-enable ASAN on Linux.
2018-10-27 20:30:14 +02:00

36 lines
556 B
YAML

language: c
os:
- linux
- osx
compiler:
- gcc
- clang
env:
- USE_VALGRIND=1
- USE_ASAN=1
matrix:
exclude:
- compiler: gcc
env: USE_ASAN=1
- os: osx
env: USE_VALGRIND=1
include:
- os: osx
compiler: gcc
env: ""
addons:
apt:
packages:
- valgrind
before_script:
- if [[ "$USE_VALGRIND" ]]; then export MEMCHECK="valgrind -q --leak-check=full --error-exitcode=1"; fi
- if [[ "$USE_ASAN" ]]; then export CFLAGS="-fsanitize=address -fno-omit-frame-pointer"; fi
script: make && make check