travis.yml: install homebrew python for OS X
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 7 Jan 2020 13:38:28 +0000 (13:38 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 9 Jan 2020 11:41:29 +0000 (11:41 +0000)
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 <alex.bennee@linaro.org>
.travis.yml

index 6826618ea816a6b752e64727922771a06a66f61a..6c1038a0f1ae71f354919c455b2ab87439357d4d 100644 (file)
@@ -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}