.travis.yml: Add valgrind testing
authorDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Jan 2017 23:37:15 +0000 (10:37 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 17 Jan 2017 02:19:15 +0000 (13:19 +1100)
Currently, our Travis builds don't have valgrind installed, meaning
that ccanlint's valgrind based tests will be skipped, which is
unfortunate.

This adds valgrind to some of the builds to give us better CI
coverage.  It's not added for Precise with gcc, because that causes
failures which appear to be due to something in the builtins of that
gcc version.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
.travis.yml

index 83866f9689cd88712f1af10b3b6d7f34375477c0..af5aad548a99b8da8e217fd8e42d6f40655fc6f8 100644 (file)
@@ -6,7 +6,15 @@ matrix:
   - compiler: gcc
     env: CFLAGS="-std=gnu99"
   - compiler: clang
+    addons:
+      apt:
+        packages:
+          - valgrind
   - dist: trusty
+    addons:
+      apt:
+        packages:
+          - valgrind
     env: CFLAGS="-std=gnu99"
     compiler: gcc