Commit 6b87399f authored by INADA Naoki's avatar INADA Naoki Committed by GitHub

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.
parent 7cfd8c6a
...@@ -60,7 +60,7 @@ matrix: ...@@ -60,7 +60,7 @@ matrix:
env: OPTIONAL=true env: OPTIONAL=true
before_install: before_install:
# Python 3 is needed for Argument Clinic and multissl # 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 - export PATH=$(brew --prefix)/bin:$(brew --prefix)/sbin:$PATH
- os: linux - os: linux
language: c language: c
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment