.travis.yml: Add compilation with gcc 5 and gcc 6
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 19 Jan 2017 01:58:24 +0000 (12:58 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 19 Jan 2017 01:58:24 +0000 (12:58 +1100)
Now that we have a way to correctly set a matching coverage tool, we can
add more recent compiler versions to the Travis build.

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

index af5aad548a99b8da8e217fd8e42d6f40655fc6f8..e07b4e8775fc81def2e074b94cf9f73209e5342d 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,26 @@ 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
 
 script:
     - make -j2 -k quiet=1