summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2018-06-04 03:57:03 (GMT)
committerGitHub <noreply@github.com>2018-06-04 03:57:03 (GMT)
commit6b87399f0f337d68a71ae55cd9a8667f27a3d2dc (patch)
tree8898dae289b7d44634985b98308ab65d2b3098d5 /.travis.yml
parent7cfd8c6a1b53a7dbdea14b6f414f2629dcd130a2 (diff)
downloadcpython-6b87399f0f337d68a71ae55cd9a8667f27a3d2dc.zip
cpython-6b87399f0f337d68a71ae55cd9a8667f27a3d2dc.tar.gz
cpython-6b87399f0f337d68a71ae55cd9a8667f27a3d2dc.tar.bz2
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 204c63f..fc12875 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