timer: add hook for allocation functions.
[ccan] / .travis.yml
index 83866f9689cd88712f1af10b3b6d7f34375477c0..9f9dbcb1f59f9050c32806c5df3dac0f6a21b02a 100644 (file)
@@ -5,10 +5,60 @@ matrix:
   include:
   - compiler: gcc
     env: CFLAGS="-std=gnu99"
+  - compiler: gcc-5
+    env: GCOV="gcov-5"
+    addons:
+      apt:
+        sources:
+          - ubuntu-toolchain-r-test
+        packages:
+          - gcc-5
+  - compiler: gcc-6
+    env: GCOV="gcov-6"
+    addons:
+      apt:
+        sources:
+          - ubuntu-toolchain-r-test
+        packages:
+          - gcc-6
   - compiler: clang
+    addons:
+      apt:
+        packages:
+          - valgrind
   - dist: trusty
+    addons:
+      apt:
+        packages:
+          - valgrind
     env: CFLAGS="-std=gnu99"
     compiler: gcc
+  - dist: trusty
+    compiler: gcc-5
+    env: GCOV="gcov-5"
+    addons:
+      apt:
+        sources:
+          - ubuntu-toolchain-r-test
+        packages:
+          - gcc-5
+          - valgrind
+  - dist: trusty
+    compiler: gcc-6
+    env: GCOV="gcov-6"
+    addons:
+      apt:
+        sources:
+          - ubuntu-toolchain-r-test
+        packages:
+          - gcc-6
+          - valgrind
+  - dist: trusty
+    compiler: clang
+    addons:
+      apt:
+        packages:
+          - valgrind
 
 script:
     - make -j2 -k quiet=1