1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-02 13:33:20 +03:00

Add Travis test with MemorySanitizer

This commit is contained in:
Nick Wellnhofer
2019-06-03 14:30:56 +02:00
parent e67e0afbdd
commit fbd437b4a9

View File

@@ -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