Skip to content

Commit edec8e7

Browse files
authored
Merge pull request #1001 from ychin/fix-travis-python2-link-issues
Fix Travis CI Python issues by manually linking Python3
2 parents 7e5d662 + 2b49d94 commit edec8e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.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)