testfix: setting different paths for Python2 and Python3 on OSX
@@ -53,13 +53,11 @@ before_install:
if [ "$WANTED_PYTHON_VERSION" == "2.7" ]; then
brew reinstall python\@2 || brew link --overwrite python\@2 # install and link python2 and pip2 to /usr/local/bin
+ export PATH=/usr/local/opt/python\@2/bin:$PATH
else
brew reinstall python # install and link python3 and pip3 to /usr/local/bin
+ export PATH=/usr/local/opt/python/bin:$PATH
fi
- export PATH=/usr/local/opt/python/libexec/bin:$PATH
-
- echo PATH = $PATH
- ls -l /usr/local/opt/python/libexec/bin
export CK_PLATFORM_INDEX=2 # used later by CK
else
