From patchwork Fri Jan 15 10:45:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 568027 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 0E69F140C00 for ; Fri, 15 Jan 2016 21:45:44 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b=JSiNo5mm; dkim-atps=neutral Received: from localhost ([::1]:46310 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aK1t0-0007w3-3E for incoming@patchwork.ozlabs.org; Fri, 15 Jan 2016 05:45:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aK1sl-0007fM-1N for qemu-devel@nongnu.org; Fri, 15 Jan 2016 05:45:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aK1sg-0001IB-0O for qemu-devel@nongnu.org; Fri, 15 Jan 2016 05:45:26 -0500 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:33777) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aK1sf-0001Hr-Kh for qemu-devel@nongnu.org; Fri, 15 Jan 2016 05:45:21 -0500 Received: by mail-wm0-x231.google.com with SMTP id f206so17772369wmf.0 for ; Fri, 15 Jan 2016 02:45:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=MZJiFeq4E6C0IJbyKkInOQ/eXZKfYHZWboocvp3C7fg=; b=JSiNo5mmGbRR7sTnRM4d7omPFafKPu5OtI5aAzhKAti9aOcnx/gx+Ue6gVhhWA/Hml BBQBL54lV0dDUvtjeTuldqfAuPULJ3/0Nm3PSah/r8kp+iTBaqLyA4tAZKG7Gk+yS208 AIli5w7bE0lQWFDJYdiycnDw9TYBnMiz+uyw4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-type:content-transfer-encoding; bh=MZJiFeq4E6C0IJbyKkInOQ/eXZKfYHZWboocvp3C7fg=; b=hx4lD37vy/geTB6aZhGtnSbtf41iMjgY49g2ee6sPRnMGPEz862sUMnDZR1LyasiTB wguDQmjZr0hybBGdkLOyiibv0kKQ/3pkjKYQmwrka6iqGTJr8EB3NfvM/8T2oPQ6+yeZ nUboL+x9CzGX1S+1jnADAXYuaX5vdjeQRWnBE/n9sqrZ+UqDQ3RT0QZCbkhS3G97b5Dp JrqVzkekAVaXjSa0jAVoJPGRfkS9rCjsrgPFe4omq6X/677n5DYZi/Pp2eaQFUbeyGvR 9LK87Hkoy7hpHdX9Q09Af/MxNZS1CKfCJqt/Ji6uJaptE0CNMgLmcLJ+ZJ2fRHoDfmLB EwFw== X-Gm-Message-State: AG10YOSWdOwnAhMAre8Twio8zBefxrjgnhdgVMSpPhUq7KMBvo6rtZ/LA1URG7r4vXwENzhO X-Received: by 10.28.113.220 with SMTP id d89mr2728773wmi.56.1452854720637; Fri, 15 Jan 2016 02:45:20 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id a126sm1974933wmh.0.2016.01.15.02.45.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jan 2016 02:45:19 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 024FA3E00AD; Fri, 15 Jan 2016 10:45:19 +0000 (GMT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Fri, 15 Jan 2016 10:45:09 +0000 Message-Id: <1452854709-12855-1-git-send-email-alex.bennee@linaro.org> X-Mailer: git-send-email 2.6.4 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::231 Cc: pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , david@gibson.dropbear.id.au Subject: [Qemu-devel] [PATCH] .travis.yml: migrate to container builds X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This moves the Travis tests from their old legacy VM infrastructure (which only seems to run 5-6 jobs at once) to their new container based approach. The principle difference is there is no sudo in the containers so all packages are installed using the apt add-on. This means one of the build combinations can be dropped as it was only for checking the build with additional packages. I've disabled the user-space tracing build until the dependant packages go through the Travis package white-listing process. Signed-off-by: Alex Bennée Tested-by: David Gibson --- .travis.yml | 49 +++++++++++++++++++++++++++++++++---------------- 1 file changed, 33 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6ca0260..2fef5dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,37 @@ +sudo: false language: c python: - "2.4" compiler: - gcc - clang +addons: + apt: + packages: + - libaio-dev + - libattr1-dev + - libbrlapi-dev + - libcap-ng-dev + - libgnutls-dev + - libgtk-3-dev + - libiscsi-dev + - liblttng-ust-dev + - libncurses5-dev + - libnss3-dev + - libpixman-1-dev + - libpng12-dev + - librados-dev + - libsdl1.2-dev + - libseccomp-dev + - libspice-protocol-dev + - libspice-server-dev + - libssh2-1-dev + - liburcu-dev + - libusb-1.0-0-dev + - libvte-2.90-dev + - sparse + - uuid-dev + notifications: irc: channels: @@ -14,11 +42,6 @@ env: global: - TEST_CMD="" - EXTRA_CONFIG="" - # Development packages, EXTRA_PKGS saved for additional builds - - CORE_PKGS="libusb-1.0-0-dev libiscsi-dev librados-dev libncurses5-dev" - - NET_PKGS="libseccomp-dev libgnutls-dev libssh2-1-dev libspice-server-dev libspice-protocol-dev libnss3-dev" - - GUI_PKGS="libgtk-3-dev libvte-2.90-dev libsdl1.2-dev libpng12-dev libpixman-1-dev" - - EXTRA_PKGS="" matrix: # Group major targets together with their linux-user counterparts - TARGETS=alpha-softmmu,alpha-linux-user @@ -43,8 +66,6 @@ git: before_install: - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ - git submodule update --init --recursive - - sudo apt-get update -qq - - sudo apt-get install -qq ${CORE_PKGS} ${NET_PKGS} ${GUI_PKGS} ${EXTRA_PKGS} before_script: - ./configure --target-list=${TARGETS} --enable-debug-tcg ${EXTRA_CONFIG} script: @@ -64,16 +85,12 @@ matrix: - env: TARGETS=i386-softmmu,x86_64-softmmu EXTRA_CONFIG="--enable-debug --enable-tcg-interpreter" compiler: gcc - # All the extra -dev packages - - env: TARGETS=i386-softmmu,x86_64-softmmu - EXTRA_PKGS="libaio-dev libcap-ng-dev libattr1-dev libbrlapi-dev uuid-dev libusb-1.0.0-dev" - compiler: gcc # Currently configure doesn't force --disable-pie - env: TARGETS=i386-softmmu,x86_64-softmmu EXTRA_CONFIG="--enable-gprof --enable-gcov --disable-pie" compiler: gcc + # Sparse - env: TARGETS=i386-softmmu,x86_64-softmmu - EXTRA_PKGS="sparse" EXTRA_CONFIG="--enable-sparse" compiler: gcc # All the trace backends (apart from dtrace) @@ -86,10 +103,10 @@ matrix: - env: TARGETS=i386-softmmu,x86_64-softmmu EXTRA_CONFIG="--enable-trace-backends=ftrace" compiler: gcc - - env: TARGETS=i386-softmmu,x86_64-softmmu - EXTRA_PKGS="liblttng-ust-dev liburcu-dev" - EXTRA_CONFIG="--enable-trace-backends=ust" - compiler: gcc + # UST backend disabled until liblttng-ust-dev pkg white-listed + #- env: TARGETS=i386-softmmu,x86_64-softmmu + # EXTRA_CONFIG="--enable-trace-backends=ust" + # compiler: gcc - env: TARGETS=i386-softmmu,x86_64-softmmu EXTRA_CONFIG="--enable-modules" compiler: gcc