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