Received: from eggs.gnu.org ([2001:4830:134:3::10]:56623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Rjq-0007Qp-If for qemu-devel@nongnu.org; Wed, 09 Nov 2016 07:12:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4Rjm-00068d-NR for qemu-devel@nongnu.org; Wed, 09 Nov 2016 07:12:22 -0500 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:35553) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c4Rjm-00068K-GH for qemu-devel@nongnu.org; Wed, 09 Nov 2016 07:12:18 -0500 Received: by mail-wm0-x22e.google.com with SMTP id a197so303161272wmd.0 for ; Wed, 09 Nov 2016 04:12:18 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Wed, 9 Nov 2016 12:11:57 +0000 Message-Id: <20161109121157.30815-3-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 2/2] travis: add Trusty with clang stable build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: stefanha@redhat.com Cc: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= Although we've reduced the matrix to avoid repeating clang builds we can still add an additional clang build to use the latest stable version of clang which will typically be available on current distros. Signed-off-by: Alex Bennée --- .travis.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.travis.yml b/.travis.yml index 0706b9a..d83e2d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -103,6 +103,26 @@ matrix: - sudo apt-get build-dep -qq qemu - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ - git submodule update --init --recursive + # Trusty build with latest stable clang + - env: CONFIG="" + sudo: required + addons: + dist: trusty + language: generic + compiler: none + env: + - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9 + - CONFIG="--cc=clang-3.9 --cxx=clang++-3.9" + before_install: + - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - + - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main' + - sudo apt-get update -qq + - sudo apt-get install -qq -y clang-3.9 + - sudo apt-get build-dep -qq qemu + - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ + - git submodule update --init --recursive + before_script: + - ./configure ${CONFIG} || cat config.log # Using newer GCC with sanitizers - addons: apt: -- 2.10.1