]> git.proxmox.com Git - mirror_qemu.git/commitdiff
travis: trim out most clang builds
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 27 Oct 2016 13:23:45 +0000 (15:23 +0200)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 12 Jan 2017 10:04:17 +0000 (10:04 +0000)
We test with both gcc and clang in order to detect cases
where clang issues warnings that gcc misses. To achieve
this though we don't need to build QEMU in multiple
different configurations. Just a single clang-on-linux
build will be sufficient, if we have an "all enabled"
config.

This cuts the number of build jobs from 21 to 16,
reducing the load imposed on shared Travis CI infra.
This will make it practical to enable jobs for other
interesting & useful configurations without DOS'ing
Travis to much.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
.travis.yml

index 9916178bf3cca534f4fc963f1ec5458413860a4d..0706b9a1df75a3d7ddfcb194cd35f8048aae2892 100644 (file)
@@ -4,7 +4,6 @@ python:
   - "2.4"
 compiler:
   - gcc
-  - clang
 cache: ccache
 addons:
   apt:
@@ -68,6 +67,9 @@ script:
   - make -j3 && ${TEST_CMD}
 matrix:
   include:
+    # Test with CLang for compile portability
+    - env: CONFIG=""
+      compiler: clang
     # gprof/gcov are GCC features
     - env: CONFIG="--enable-gprof --enable-gcov --disable-pie"
       compiler: gcc