failtest, rbuf: fix up incorrect lseek arg order.
[ccan] / .travis.yml
index 34319bcb462d15e977f7c586ac6fc8e7a05644e3..9f9dbcb1f59f9050c32806c5df3dac0f6a21b02a 100644 (file)
@@ -1,9 +1,64 @@
 language: c
 sudo: false
 
-compiler:
-  - gcc
-  - clang
+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