From 943ed37e5463fb47dffaa45c8b463295f5d6f817 Mon Sep 17 00:00:00 2001 From: Tom M Date: Sat, 1 Feb 2020 10:55:50 +0100 Subject: [PATCH] Add ubsan and asan to TravisCI (#612) Also add clang9 --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4652f99b..e897e9d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ addons: - ubuntu-toolchain-r-test - llvm-toolchain-bionic-7 - llvm-toolchain-bionic-8 + - llvm-toolchain-bionic-9 packages: - cmake-data - cmake @@ -31,6 +32,7 @@ env: - CMAKE_FLAGS="-Denable-network=0" - CMAKE_FLAGS="-Denable-aufile=0" - CMAKE_FLAGS="-DBUILD_SHARED_LIBS=0" + - CMAKE_FLAGS="-Denable-ubsan=1" matrix: include: @@ -49,6 +51,9 @@ matrix: - MATRIX_EVAL="CC=clang-8 && CXX=clang++-8 && sudo rm -f /usr/local/clang-7.0.0/bin/clang-tidy && sudo ln -s /usr/bin/clang-tidy-8 /usr/bin/clang-tidy && sudo apt-get install clang-8 clang-tidy-8" - CMAKE_FLAGS="-Denable-profiling=1 -DCMAKE_C_FLAGS_DEBUG=-fuse-ld=gold" + - env: + - MATRIX_EVAL="CC=clang-9 && CXX=clang++-9 && sudo apt-get install clang-9" + - os: linux-ppc64le env: - CMAKE_FLAGS=""