Added Travis builds on Ubuntu xenial and bionic.
authorDan Fandrich <dan@coneharvesters.com>
Tue, 9 Apr 2019 12:38:04 +0000 (14:38 +0200)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 9 Apr 2019 14:14:12 +0000 (16:14 +0200)
.travis.yml

index a1f2094..7c4766d 100644 (file)
@@ -8,6 +8,7 @@ git:
   depth: 1
 
 # Install autopoint on Ubuntu (needed for gettext)
+# This is ignored on bionic for some reason (see below).
 addons:
   apt:
     packages:
@@ -33,6 +34,22 @@ os:
 
 matrix:
   include:
+  - env: CONFIG=normal DIST=bionic
+    os: linux
+    dist: bionic
+    compiler: gcc
+  - env: CONFIG=normal DIST=bionic
+    os: linux
+    dist: bionic
+    compiler: clang
+  - env: CONFIG=normal DIST=xenial
+    os: linux
+    dist: xenial
+    compiler: gcc
+  - env: CONFIG=normal DIST=xenial
+    os: linux
+    dist: xenial
+    compiler: clang
   - env: CONFIG=clang6
     os: linux
     compiler: clang
@@ -110,6 +127,10 @@ matrix:
       directories:
         - $HOME/failmalloc
 
+before_install:
+  # The apt addons section is ignored on bionic for some reason
+  - if [ "${DIST}" = "bionic" ] ; then sudo apt-get install -y autopoint; fi
+
 install:
   - |
     if [ "$CONFIG" = "coverage" ] ; then