timer: add hook for allocation functions.
[ccan] / .travis.yml
index af5aad548a99b8da8e217fd8e42d6f40655fc6f8..9f9dbcb1f59f9050c32806c5df3dac0f6a21b02a 100644 (file)
@@ -5,6 +5,22 @@ 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:
@@ -17,6 +33,32 @@ matrix:
           - 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