Browse Source

.travis.yml: Add valgrind testing

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>
David Gibson 9 years ago
parent
commit
0fd6bb104a
1 changed files with 8 additions and 0 deletions
  1. 8 0
      .travis.yml

+ 8 - 0
.travis.yml

@@ -6,7 +6,15 @@ matrix:
   - compiler: gcc
   - compiler: gcc
     env: CFLAGS="-std=gnu99"
     env: CFLAGS="-std=gnu99"
   - compiler: clang
   - compiler: clang
+    addons:
+      apt:
+        packages:
+          - valgrind
   - dist: trusty
   - dist: trusty
+    addons:
+      apt:
+        packages:
+          - valgrind
     env: CFLAGS="-std=gnu99"
     env: CFLAGS="-std=gnu99"
     compiler: gcc
     compiler: gcc