Received: from eggs.gnu.org ([2001:4830:134:3::10]:44550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aimSz-0004HG-1Z for qemu-devel@nongnu.org; Wed, 23 Mar 2016 13:21:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aimSx-0006So-AZ for qemu-devel@nongnu.org; Wed, 23 Mar 2016 13:21:08 -0400 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:36226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aimSx-0006Sj-3h for qemu-devel@nongnu.org; Wed, 23 Mar 2016 13:21:07 -0400 Received: by mail-wm0-x22a.google.com with SMTP id r129so145500183wmr.1 for ; Wed, 23 Mar 2016 10:21:07 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Wed, 23 Mar 2016 17:20:54 +0000 Message-Id: <1458753657-21664-3-git-send-email-alex.bennee@linaro.org> In-Reply-To: <1458753657-21664-1-git-send-email-alex.bennee@linaro.org> References: <1458753657-21664-1-git-send-email-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v2 2/5] .travis.yml: enable OSX builds List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , david@gibson.dropbear.id.au 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 --- 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 -- 2.7.3