Skip to content

Commit

Permalink
Fix broken MacOS CI setup: install GCC before Python (#472)
Browse files Browse the repository at this point in the history
NumPy package requires GCC, and installation of GCC requires the
use of `brew link`.
  • Loading branch information
hcho3 authored and Kumar committed Nov 5, 2018
1 parent cef015f commit 5ba446c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/travis/travis_osx_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fi
softwareupdate --list
softwareupdate --install "Command Line Tools (macOS High Sierra version 10.13) for Xcode-9.4"

brew install gcc@7 || brew link --overwrite gcc@7
brew update
brew upgrade python3
brew install gcc@7 || brew link --overwrite gcc@7
python3 -m pip install --upgrade pip

0 comments on commit 5ba446c

Please sign in to comment.