Skip to content

Commit

Permalink
Add Travis test with MemorySanitizer
Browse files Browse the repository at this point in the history
  • Loading branch information
nwellnhof committed Jun 3, 2019
1 parent e67e0af commit fbd437b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Expand Up @@ -14,6 +14,11 @@ matrix:
env: CONFIG="--without-python"
CFLAGS="-O2 -g -fno-omit-frame-pointer -fsanitize=address,undefined -fno-sanitize-recover=all -Werror -Wno-error=cast-align"
UBSAN_OPTIONS=print_stacktrace=1
# clang with MemorySanitizer.
- compiler: clang
dist: xenial
env: CONFIG="--without-python --without-zlib --without-lzma --without-crypto"
CFLAGS="-O2 -g -fno-omit-frame-pointer -fsanitize=memory -Werror -Wno-error=cast-align"
script:
- |
git clone --depth 1 https://gitlab.gnome.org/GNOME/libxml2.git
Expand Down

0 comments on commit fbd437b

Please sign in to comment.