From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Rjq-0007Qq-Jk for qemu-devel@nongnu.org; Wed, 09 Nov 2016 07:12:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4Rjl-00068G-Mc for qemu-devel@nongnu.org; Wed, 09 Nov 2016 07:12:22 -0500 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:35540) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c4Rjl-00067Z-Ft for qemu-devel@nongnu.org; Wed, 09 Nov 2016 07:12:17 -0500 Received: by mail-wm0-x22f.google.com with SMTP id a197so303160212wmd.0 for ; Wed, 09 Nov 2016 04:12:17 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Wed, 9 Nov 2016 12:11:56 +0000 Message-Id: <20161109121157.30815-2-alex.bennee@linaro.org> In-Reply-To: <20161109121157.30815-1-alex.bennee@linaro.org> References: <20161109121157.30815-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 1/2] travis: trim out most clang builds List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: stefanha@redhat.com Cc: qemu-devel@nongnu.org, "Daniel P. Berrange" , =?UTF-8?q?Alex=20Benn=C3=A9e?= From: "Daniel P. Berrange" 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 Reviewed-by: Stefan Hajnoczi Signed-off-by: Alex Bennée --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9916178..0706b9a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 -- 2.10.1