summaryrefslogtreecommitdiff
path: root/.ci
diff options
context:
space:
mode:
authorElvis Pranskevichus <elvis@magic.io>2018-05-01 12:18:48 -0400
committerElvis Pranskevichus <elvis@magic.io>2018-05-01 12:18:48 -0400
commitcc6a62c9dc94a4cd67f4c909699886cfecd16303 (patch)
treed638d6ffb8f06a688ecf8143f4f5127ccc3aaac5 /.ci
parent4d966a1cf9acb21c9f71f2a630da11e4ac848502 (diff)
downloadimmutables-cc6a62c9dc94a4cd67f4c909699886cfecd16303.tar.gz
immutables-cc6a62c9dc94a4cd67f4c909699886cfecd16303.zip
Unbreak macOS build on Travisv0.5
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/travis-before-install.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/.ci/travis-before-install.sh b/.ci/travis-before-install.sh
index fdc9202..13aaf32 100755
--- a/.ci/travis-before-install.sh
+++ b/.ci/travis-before-install.sh
@@ -3,14 +3,14 @@
set -e -x
if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
- git clone --depth 1 https://github.com/yyuu/pyenv.git ~/.pyenv
- PYENV_ROOT="$HOME/.pyenv"
- PATH="$PYENV_ROOT/bin:$PATH"
+ brew update >/dev/null
+ brew upgrade pyenv
eval "$(pyenv init -)"
if ! (pyenv versions | grep "${PYTHON_VERSION}$"); then
pyenv install ${PYTHON_VERSION}
fi
+
pyenv global ${PYTHON_VERSION}
pyenv rehash
fi