]> granicus.if.org Git - icu/commitdiff
ICU-11637 Thread sanitizer added to Travis build. (#81)
authorAndy Heninger <andy.heninger@gmail.com>
Sat, 25 Aug 2018 00:45:22 +0000 (17:45 -0700)
committerShane Carr <shane@unicode.org>
Thu, 27 Sep 2018 21:27:38 +0000 (14:27 -0700)
.travis.yml

index e31b1e5182408053e8bf55b112afdbd79b5ff23d..9ac0aa52641b06a4d8594a0e434db246f4a79e81 100644 (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