]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
travis: Improve test matrix
authorAndrea Bolognani <abologna@redhat.com>
Wed, 6 Sep 2017 14:08:26 +0000 (16:08 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 14 Sep 2017 14:59:24 +0000 (16:59 +0200)
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@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
.travis.yml

index 1ade6dfa34f1fb60562c75bbf141775b8b2016f8..4aecb6bf40462f614eed673f8949a6a4e6409eed 100644 (file)
@@ -1,8 +1,5 @@
 sudo: false
 language: c
-dist: precise
-compiler:
-  - gcc
 cache: ccache
 addons:
   apt:
@@ -80,15 +77,16 @@ script:
   # syntax-check as well, so skip those steps on that platform for now
   - make -j3 && if [ "$TRAVIS_OS_NAME" != "osx" ]; then make -j3 syntax-check && 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