From patchwork Mon Apr 4 17:45:44 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: 8743451 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7E553C0553 for ; Mon, 4 Apr 2016 17:47:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 985C72021F for ; Mon, 4 Apr 2016 17:47:42 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B82E9201FA for ; Mon, 4 Apr 2016 17:47:41 +0000 (UTC) Received: from localhost ([::1]:60291 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an8bF-0003ZU-2x for patchwork-qemu-devel@patchwork.kernel.org; Mon, 04 Apr 2016 13:47:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an8ZZ-0000k5-3k for qemu-devel@nongnu.org; Mon, 04 Apr 2016 13:45:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1an8ZX-0002Me-9v for qemu-devel@nongnu.org; Mon, 04 Apr 2016 13:45:57 -0400 Received: from mail-lb0-x22c.google.com ([2a00:1450:4010:c04::22c]:34805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an8ZX-0002MG-1s for qemu-devel@nongnu.org; Mon, 04 Apr 2016 13:45:55 -0400 Received: by mail-lb0-x22c.google.com with SMTP id vo2so172998056lbb.1 for ; Mon, 04 Apr 2016 10:45:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MKwxaolFpsLcbE88dtScqzkpNakBvOBMYIzq9Q4wnWE=; b=AJuk+6Wv5yOJhRfX2U1UNUd5HaUYsFXcNE871bZ69U1V1m6EqHPCUqieFrFCWHDHj3 8GQPujfQVX/cJE4etrx+GrNkqKm2iCkvYK+m/HPFWtNRHcDEjO+ofOdGnCl8a/OlqCoO d0eqoapDUj5RA58wPYC7tRhVELJQd7mJlW5uM= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=MKwxaolFpsLcbE88dtScqzkpNakBvOBMYIzq9Q4wnWE=; b=eKIXRaVISa8EN1d011Z4SPzDLyFEive2D2QiMlpnnwBCmvOKlkagg7d3SYF1ZFmXjc 5nbrJmkalWUxSeH79YjsSKDiW7GKE5ez+0Rlbfe+eW3t0ZHSX4/Mfk0xpp2uThEuOHoF PBDGacwfE8iMzu+CExBxd2Wx5PFj2jgelREw22eBJ/GGBGUB9NgxBIQz7VNTw0Gblf8y WiV6Yaieb3Qn7yb6UrluhKRs3ih7Rl9Hk2ckB6Axe5m9n85wj3JoHio5ndlKBBZqzxxO uuDf49DrHnqEewkQpPHjCm8MgVKo+5JD+epMMR5EILgdlc/ujzvP+dTogN+PgGD7Lx+S k5QQ== X-Gm-Message-State: AD7BkJLEOORq9TVmf7TXtu4m7rB8iASzWQwZsjl+YDD6fSu/Z5WOleikf/dv/F3AQIUnrY8X X-Received: by 10.28.73.70 with SMTP id w67mr2558990wma.28.1459791954218; Mon, 04 Apr 2016 10:45:54 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id e80sm15415569wma.1.2016.04.04.10.45.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Apr 2016 10:45:52 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 742813E0951; Mon, 4 Apr 2016 18:45:51 +0100 (BST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Mon, 4 Apr 2016 18:45:44 +0100 Message-Id: <1459791945-4985-3-git-send-email-alex.bennee@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1459791945-4985-1-git-send-email-alex.bennee@linaro.org> References: <1459791945-4985-1-git-send-email-alex.bennee@linaro.org> 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:4010:c04::22c Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Subject: [Qemu-devel] [PULL 2/3] .travis.yml: enable OSX 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Travis has support for OSX builds. Making the setup work cleanly involves a little hacking about with the .travis.yml file but rather than make it too messy I've pushed all the "brew" install stuff into a support script called ./scripts/macosx-brew.sh. Currently only the default ./configure ${CONFIG} is built as I'm not sure what extra coverage would come from the other build stanzas. Signed-off-by: Alex Bennée Acked-by: Peter Maydell --- v2 - brew directly, use POSIX shell logic --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 18c04af..f02710d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,6 +53,8 @@ git: # we want to do this ourselves submodules: false before_install: + - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi + - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman ; fi - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ - git submodule update --init --recursive before_script: @@ -83,3 +85,6 @@ matrix: - env: CONFIG="--with-coroutine=gthread" TEST_CMD="" compiler: gcc + - env: CONFIG="" + os: osx + compiler: clang