-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #229 from mu-editor/travis_osx_py35
Force Travis OS X to install Python 3.5
- Loading branch information
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
#!/bin/bash | ||
set -ev | ||
brew update >/dev/null 2>&1 # This produces a lot of output that's not very interesting | ||
brew install python3 | ||
|
||
# Install Python 3.5 creates python3, python3.5, and pip3.5 commands but no pip3 | ||
brew tap zoidbergwill/python | ||
brew install python35 | ||
# Contrary zoidbergwill tap documentation turns out this symbolic link is not required | ||
# sudo ln -s /usr/local/Cellar/python35/3.5.2/bin/python3.5 /usr/bin/python3 | ||
|
||
# Copy pip3.5 symlink rather than creating one, better in case installation path changes | ||
cp -R /usr/local/bin/pip3.5 /usr/local/bin/pip3 |