Travis: Run "brew upgrade python" to install Python 3 on macOS

As of March 2018, Travis CI fails on macOS:

Error: python 2.7.14 is already installed
To upgrade to 3.6.4_4, run `brew upgrade python`

This commit fixes the issue.
This commit is contained in:
Masanori Kakura
2018-03-23 23:00:12 +09:00
parent 91e1d30a6f
commit b2e3fd06bb
+1 -1
View File
@@ -34,7 +34,7 @@ before_install: |
brew install gettext
brew link --force gettext
brew install intltool
brew install python3
brew upgrade python
fi
install: