blob: 2835f82c6d4b0659fe130ca38793eca51b85bf60 [file] [log] [blame]
#!/bin/bash
set -e
set -x
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
if [ ! -e "$HOME/.pyenv" ]; then
git clone https://github.com/yyuu/pyenv.git ~/.pyenv
fi
PYENV_ROOT="$HOME/.pyenv"
PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
hash -r
pyenv install --list
pyenv install -s $PYENV_VERSION
pip install wheel
fi