From ab3835d2498c012896c42ac1f17cefb542996c8b Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Tue, 3 May 2016 16:18:44 -0700 Subject: [PATCH] [travis] add linux jobs that run address and integer sanitizers --- .travis.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.travis.yml b/.travis.yml index 344b8382..08b217f6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,22 @@ sudo: false matrix: include: + # debug+integer-santizer build + - os: linux + compiler: clang + env: BUILDTYPE=Debug CC="clang-3.5" CXX="clang++-3.5" CXXFLAGS="-fsanitize=integer" CFLAGS="-fsanitize=integer" LDFLAGS="-fsanitize=integer" + addons: + apt: + sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.5' ] + packages: [ 'clang-3.5', 'llvm-3.5-dev' ] + # debug+leak+address-sanitizer build + - os: linux + compiler: clang + env: BUILDTYPE=Debug ASAN_OPTIONS=detect_leaks=1 CC="clang-3.5" CXX="clang++-3.5" CXXFLAGS="-fsanitize=address" CFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address" + addons: + apt: + sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.5' ] + packages: [ 'clang-3.5', 'llvm-3.5-dev' ] # coverage+debug build - os: linux compiler: clang