aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2018-06-04 12:57:03 +0900
committerGitHub <noreply@github.com>2018-06-04 12:57:03 +0900
commit6b87399f0f337d68a71ae55cd9a8667f27a3d2dc (patch)
tree8898dae289b7d44634985b98308ab65d2b3098d5 /.travis.yml
parentbpo-33759: Fix test.test_xmlrpc.ServerProxyTestCase. (GH-7362) (diff)
downloadcpython-6b87399f0f337d68a71ae55cd9a8667f27a3d2dc.tar.gz
cpython-6b87399f0f337d68a71ae55cd9a8667f27a3d2dc.tar.bz2
cpython-6b87399f0f337d68a71ae55cd9a8667f27a3d2dc.zip
travis: Fix macOS build (GH-7250)
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.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 204c63fb567..fc128751cb2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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