Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabime <gmelman1@gmail.com>2018-08-14 01:02:05 +0300
committergabime <gmelman1@gmail.com>2018-08-14 01:02:05 +0300
commitdca20731a2ea360ae1ac7f1e4935f1ee31ac843a (patch)
treec8cfd1b8f0a52cee5b3db0115695f05b66a9a2da /.travis.yml
parent530e209f660bb2ba96541111ab9eec0987f4a35d (diff)
Added thread sanitizer tests to travis CI
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 8884e9e0..e21cb131 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -71,6 +71,16 @@ matrix:
- env: CLANG_VERSION=6.0 BUILD_TYPE=Release CPP=11 ASAN=On
os: linux
addons: *clang6
+
+ # Test clang-6.0: C++11, Build=Debug, TSAN=On
+ - env: CLANG_VERSION=6.0 BUILD_TYPE=Debug CPP=11 TSAN=On
+ os: linux
+ addons: *clang6
+
+ - env: CLANG_VERSION=6.0 BUILD_TYPE=Release CPP=11 TSAN=On
+ os: linux
+ addons: *clang6
+
before_install:
- if [ -n "$GCC_VERSION" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi
@@ -86,7 +96,8 @@ install:
-DCMAKE_CXX_STANDARD=$CPP \
-DSPDLOG_BUILD_EXAMPLES=ON \
-DSPDLOG_BUILD_BENCH=OFF \
- -DSPDLOG_SANITIZE_ADDRESS=$ASAN
+ -DSPDLOG_SANITIZE_ADDRESS=$ASAN \
+ -DSPDLOG_SANITIZE_THREAD=$ASAN
- make VERBOSE=1 -j2
before_script: