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.
This commit is contained in:
INADA Naoki 2018-06-04 12:57:03 +09:00 committed by GitHub
parent 7cfd8c6a1b
commit 6b87399f0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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