Commit c09efffbdeffb345a8ed831819e9b333c5eaaa04

Daniel Mendler 2019-05-21T14:50:44

Run gcc 4.9 build on valgrind instead of sanitized clang build

diff --git a/.travis.yml b/.travis.yml
index afbc3a8..cd94773 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -60,6 +60,13 @@ matrix:
     # We have only one program and the variable $BUILDOPTIONS
     # has only the options to that program: testme.sh
 
+    # Run always with valgrind (no sanitizer, but debug info)
+    - env: COMPILE_DEBUG=1 BUILDOPTIONS='--with-cc=gcc-4.9 --with-m64 --with-valgrind'
+      addons:
+        apt:
+          packages:
+            - gcc-4.9
+
     # Check source code format
     - env: BUILDOPTIONS='--format'
       addons:
@@ -94,7 +101,7 @@ matrix:
     - env: SANITIZER=1 BUILDOPTIONS='--with-cc=clang-7 --with-travis-valgrind --make-option=tune'
 
     # clang for x86-64 architecture (64-bit longs and 64-bit pointers)
-    - env: COMPILE_DEBUG=1 SANITIZER=1 CONV_WARNINGS=relaxed BUILDOPTIONS='--with-cc=clang-7 --with-m64 --with-valgrind'
+    - env: SANITIZER=1 CONV_WARNINGS=relaxed BUILDOPTIONS='--with-cc=clang-7 --with-m64 --with-travis-valgrind'
     - env: SANITIZER=1 CONV_WARNINGS=strict BUILDOPTIONS='--with-cc=clang-7 --with-m64 --with-travis-valgrind'
     - env: SANITIZER=1 BUILDOPTIONS='--with-cc=clang-6.0 --with-m64 --with-travis-valgrind'
       addons:
@@ -134,11 +141,6 @@ matrix:
         apt:
           packages:
             - gcc-4.8
-    - env: BUILDOPTIONS='--with-cc=gcc-4.9 --with-m64 --with-travis-valgrind'
-      addons:
-        apt:
-          packages:
-            - gcc-4.9
 
     # GCC for the x86-64 architecture with restricted limb sizes
     # formerly started with the option "--with-low-mp" to testme.sh