From 6b87399f0f337d68a71ae55cd9a8667f27a3d2dc Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Mon, 4 Jun 2018 12:57:03 +0900 Subject: [PATCH] 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. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 204c63fb56..fc128751cb 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 -- 2.50.0