diff --git a/.travis/install.sh b/.travis/install.sh index 92d639e2de1a0..24d32330cec0d 100755 --- a/.travis/install.sh +++ b/.travis/install.sh @@ -6,6 +6,7 @@ if [[ $TRAVIS_OS_NAME == 'osx' ]]; then eval "${MATRIX_EVAL}" echo "python version: $PYTHON_VERSION" brew update > /dev/null + brew upgrade pyenv # use pyenv to build python eval "$(pyenv init -)" pyenv install $PYTHON_VERSION