Fix Travis CI Python issues by manually linking Python3

For some reason Homebrew started getting Python conflict issues with
Python linked to `python@2`. Add a manual force linking to python3 as a
before_install step.
This commit is contained in:
Yee Cheng Chin
2020-01-30 04:13:05 -08:00
parent 7e5d662886
commit 2b49d949b3
+3
View File
@@ -29,6 +29,9 @@ anchors:
- python
- ruby
update: true
before_install:
# Homebrew has issues linking Python due to conflicts with Python2. Manually link in Python3.
- brew link --overwrite python3
- &lang_env
env: "LANGOPT='--enable-perlinterp=dynamic --enable-pythoninterp=dynamic --enable-python3interp=dynamic --enable-rubyinterp=dynamic --enable-luainterp=dynamic --with-lua-prefix=/usr/local'"
- &caches