ICU-11637 Thread sanitizer added to Travis build. (#81)

This commit is contained in:
Andy Heninger 2018-08-24 17:45:22 -07:00 committed by Shane Carr
parent d43a70eda9
commit c71000c4a6
No known key found for this signature in database
GPG key ID: FCED3B24AAB18B5C

View file

@ -35,3 +35,22 @@ matrix:
- clang-5.0
script:
- cd icu4c/source && CPPFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address" ./runConfigureICU --enable-debug --disable-release Linux --disable-renaming && make -j2 check
# Clang Linux with thread sanitizer.
#
- language: cpp
env: BUILD=ICU4C_CLANG_THREAD_SAN
os: linux
dist: trusty
sudo: true
compiler: clang
addons:
apt:
update: true
sources:
- llvm-toolchain-trusty-5.0
packages:
- clang-5.0
script:
- cd icu4c/source && CPPFLAGS="-fsanitize=thread" LDFLAGS="-fsanitize=thread" ./runConfigureICU --enable-debug --disable-release Linux --disable-renaming && make -j2 check