travis: Adding gcc-4.8 and gcc-6 on Linux.
authorTim 'mithro' Ansell <mithro@mithis.com>
Thu, 26 Oct 2017 19:07:26 +0000 (12:07 -0700)
committerTim 'mithro' Ansell <mithro@mithis.com>
Fri, 24 Nov 2017 04:45:45 +0000 (15:45 +1100)
.travis.yml

index b04e73dcdb443dfa5d85aaab362f544f64b6434c..fbb4018af4e0a6a00145e5b110de84dacae5871b 100644 (file)
@@ -13,6 +13,53 @@ env:
 
 matrix:
   include:
+    # Latest gcc-4.8, earliest version supported by Travis
+    - os: linux
+      addons:
+        apt:
+          packages:
+            - g++-4.8
+            - gperf
+            - build-essential
+            - bison
+            - flex
+            - libreadline-dev
+            - gawk
+            - tcl-dev
+            - libffi-dev
+            - git
+            - mercurial
+            - graphviz
+            - xdot
+            - pkg-config
+            - python
+      env:
+        - MATRIX_EVAL="CONFIG=gcc && CC=gcc-4.8 && CXX=g++-4.8"
+
+    # Latest gcc-6 on Travis Linux
+    - os: linux
+      addons:
+        apt:
+          sources:
+            - ubuntu-toolchain-r-test
+          packages:
+            - g++-6
+            - gperf
+            - build-essential
+            - bison
+            - flex
+            - libreadline-dev
+            - gawk
+            - tcl-dev
+            - libffi-dev
+            - git
+            - mercurial
+            - graphviz
+            - xdot
+            - pkg-config
+            - python
+      env:
+        - MATRIX_EVAL="CONFIG=gcc && CC=gcc-6 && CXX=g++-6"
 
     # Latest gcc supported on Travis Linux
     - os: linux