]> granicus.if.org Git - libatomic_ops/commitdiff
Travis CI: Test with ASan and -march=native with Clang-4.0 (Linux/x64)
authorIvan Maidanski <ivmai@mail.ru>
Fri, 1 Dec 2017 17:21:43 +0000 (20:21 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 1 Dec 2017 17:21:43 +0000 (20:21 +0300)
.travis.yml

index da5a3d15ef01a7f3fec0a36988e161af5b20fff1..2acb7d43e057bb068a349dac0e3e33cbd11c40b5 100644 (file)
@@ -172,8 +172,19 @@ matrix:
   - os: linux
     compiler: clang
     env:
-    - CFLAGS_EXTRA="-fsanitize=address -march=native -fno-common -fno-omit-frame-pointer"
+    - CFLAGS_EXTRA="-fsanitize=address -fno-omit-frame-pointer"
     - TESTS_CUSTOM_RUN=true
+  - os: linux
+    addons:
+      apt:
+        packages:
+        - clang-4.0
+        sources:
+        - llvm-toolchain-trusty-4.0
+    compiler: clang-4.0
+    env:
+    - CFLAGS_EXTRA="-fsanitize=address -march=native -fno-common -fno-omit-frame-pointer"
+    - CONF_OPTIONS="--enable-assertions"
   - os: linux
     compiler: gcc
     env: