From 0ce0a0d39214d757198da929c1c882444818d322 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Fri, 5 Jun 2020 20:43:57 +0200 Subject: [PATCH] travis-ci: -fsanitize=address --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 371136e..c239a52 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,6 +45,8 @@ compiler: before_install: - 'if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$CC" == "gcc" ] ; then CC=gcc-4.9; fi' + - export CFLAGS="-fsanitize=address" + - export LDFLAGS="-fsanitize=address" script: - 'cd $TRAVIS_BUILD_DIR && cd $PROJECT'