Skip to content

Commit 6b87399

Browse files
authored
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.
1 parent 7cfd8c6 commit 6b87399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ matrix:
6060
env: OPTIONAL=true
6161
before_install:
6262
# Python 3 is needed for Argument Clinic and multissl
63-
- brew install xz python3
63+
- HOMEBREW_NO_AUTO_UPDATE=1 brew install xz python3
6464
- export PATH=$(brew --prefix)/bin:$(brew --prefix)/sbin:$PATH
6565
- os: linux
6666
language: c

0 commit comments

Comments
 (0)