Permalink
Browse files

Problem: brew broken Python2/3

Solution: instead of installing python3, "upgrade" python which will
alias it to python3 and then install python2
  • Loading branch information...
bluca committed Apr 17, 2018
1 parent 017483a commit 1f8fe2be778b43fbbb12aaf41cb8becac22dfe33
Showing with 1 addition and 1 deletion.
  1. +1 −1 .travis.yml
@@ -83,7 +83,7 @@ addons:
before_install:
- if [ $TRAVIS_OS_NAME == "osx" -a $BUILD_TYPE == "android" ] ; then brew install binutils ; fi
- if [ $TRAVIS_OS_NAME == "osx" -a $BUILD_TYPE == "bindings" -a $BINDING == "python" ] ; then brew update; brew install python3 ; fi
- if [ $TRAVIS_OS_NAME == "osx" -a $BUILD_TYPE == "bindings" -a $BINDING == "python" ] ; then brew upgrade python; brew install python@2 ; fi
# Build and check this project according to the BUILD_TYPE
script: "./ci_build.sh"

0 comments on commit 1f8fe2b

Please sign in to comment.