]> granicus.if.org Git - libatomic_ops/commitdiff
Travis CI: Fix 'no sys/cdefs.h' error for 32-bit sanitized build for Linux
authorIvan Maidanski <ivmai@mail.ru>
Mon, 20 Nov 2017 18:38:13 +0000 (21:38 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 20 Nov 2017 18:39:25 +0000 (21:39 +0300)
(fix commit cb7cab3)

.travis.yml

index b2436e3846918a608bf9f497f60876a7dc6b1b9f..2a5cd12d6b181a519152bc9fdc9f0c4c4767ea95 100644 (file)
@@ -180,7 +180,15 @@ matrix:
     - CFLAGS_EXTRA="-fsanitize=address -fno-omit-frame-pointer"
     - CONF_OPTIONS="--enable-assertions"
   - os: linux
-    compiler: gcc
+    addons:
+      apt:
+        packages:
+        - gcc-5
+        - gcc-5-multilib
+        sources:
+        - ubuntu-toolchain-r-test
+    compiler: gcc-5
+    dist: trusty
     env:
     - CFLAGS_EXTRA="-fsanitize=address -m32 -march=native -fno-omit-frame-pointer"
   - os: osx