[libvirt] [PATCH 6/8] travis: Improve test matrix

Andrea Bolognani abologna at redhat.com
Thu Sep 14 13:09:06 UTC 2017


The default distribution is apparently ignored if an explicit test
matrix is provided, so we haven't actually been testing the precise
plus gcc combo.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 .travis.yml | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index e93fc73b2..154727fa3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,5 @@
 sudo: false
 language: c
-dist: precise
-compiler:
-  - gcc
 cache: ccache
 addons:
   apt:
@@ -82,15 +79,16 @@ script:
   - if [ "$TRAVIS_OS_NAME" != "osx" ]; then make -j3 syntax-check; fi
   - if [ "$TRAVIS_OS_NAME" != "osx" ]; then make -j3 check; fi
 
-# Environments here are run in addition to the main environment defined above
 matrix:
   include:
+    - compiler: gcc
+      dist: precise
+    - compiler: gcc
+      dist: trusty
     - compiler: clang
       dist: precise
     - compiler: clang
       dist: trusty
-    - compiler: gcc
-      dist: trusty
     - compiler: clang
       os: osx
 
-- 
2.13.5




More information about the libvir-list mailing list