From aaf3f74d24572b3020d4b94866904d6e552e7ff8 Mon Sep 17 00:00:00 2001
From: Guilhem Saurel <guilhem.saurel@gmail.com>
Date: Thu, 10 Jan 2019 11:34:14 +0100
Subject: [PATCH] [CI] run travis on trusty & xenial

---
 .travis.yml | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index a51c6fa1..9bdc0d45 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,21 +1,21 @@
 language: cpp
 
-os:
-  - linux
-  - osx
-
-compiler:
-  - gcc
-  - clang
-
 env:
   - BUILD_TYPE=Debug
   - BUILD_TYPE=Release
 
 matrix:
-  exclude:
-    - os: osx
+  include:
+    - dist: trusty
       compiler: gcc
+    - dist: xenial
+      compiler: gcc
+    - dist: trusty
+      compiler: clang
+    - dist: xenial
+      compiler: clang
+    - os: osx
+      compiler: clang
 
 install:
   # Install dependencies for FCL
@@ -25,7 +25,7 @@ install:
 script:
   # Create build directory
   - mkdir build
-  - cd build 
+  - cd build
 
   # Configure
   - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_CXX_FLAGS=-w ..
@@ -39,4 +39,3 @@ script:
   # Make sure we can install and uninstall with no issues
   - sudo make -j4 install
   - sudo make -j4 uninstall
-
-- 
GitLab