Skip to content

Commit 2b49d94

Browse files
committed
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.
1 parent 7e5d662 commit 2b49d94

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ anchors:
2929
- python
3030
- ruby
3131
update: true
32+
before_install:
33+
# Homebrew has issues linking Python due to conflicts with Python2. Manually link in Python3.
34+
- brew link --overwrite python3
3235
- &lang_env
3336
env: "LANGOPT='--enable-perlinterp=dynamic --enable-pythoninterp=dynamic --enable-python3interp=dynamic --enable-rubyinterp=dynamic --enable-luainterp=dynamic --with-lua-prefix=/usr/local'"
3437
- &caches

0 commit comments

Comments
 (0)