From 289c8e592127eedb192d0f508f62f9f6531c0449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Tue, 7 Jan 2020 13:38:28 +0000 Subject: [PATCH] travis.yml: install homebrew python for OS X MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Our python3 requirements now outstrip those of the build. While we are at it we can move more of the special casing for Mac into the one build we have. Signed-off-by: Alex Bennée --- .travis.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6826618ea8..6c1038a0f1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,13 +51,6 @@ addons: - sparse - uuid-dev - gcovr - homebrew: - packages: - - ccache - - glib - - pixman - - gnu-sed - update: true # The channel name "irc.oftc.net#qemu" is encrypted against qemu/qemu @@ -239,7 +232,17 @@ matrix: os: osx osx_image: xcode10.3 compiler: clang + addons: + homebrew: + packages: + - ccache + - glib + - pixman + - gnu-sed + - python + update: true before_script: + - brew link --overwrite python - export PATH="/usr/local/opt/ccache/libexec:$PATH" - if command -v ccache ; then ccache --zero-stats ; fi - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}