]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
travis: Fix macOS build (GH-7250)
authorINADA Naoki <methane@users.noreply.github.com>
Mon, 4 Jun 2018 03:57:03 +0000 (12:57 +0900)
committerGitHub <noreply@github.com>
Mon, 4 Jun 2018 03:57:03 +0000 (12:57 +0900)
Homebrew's python is now python3, but travis preinstalls old python2.
So updated Homebrew requires `brew upgrade python` now.

This commit disables auto update and use preinstalled version of Homebrew.

.travis.yml

index 204c63fb567de5dcdb8d7bf1791874ffed74d341..fc128751cb2a124951b0dce6e6e7010e4d0dbde3 100644 (file)
@@ -60,7 +60,7 @@ matrix:
       env: OPTIONAL=true
       before_install:
         # Python 3 is needed for Argument Clinic and multissl
-        - brew install xz python3
+        - HOMEBREW_NO_AUTO_UPDATE=1 brew install xz python3
         - export PATH=$(brew --prefix)/bin:$(brew --prefix)/sbin:$PATH
     - os: linux
       language: c