Skip to content

Commit cc6a62c

Browse files
committed
Unbreak macOS build on Travis
1 parent 4d966a1 commit cc6a62c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.ci/travis-before-install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
set -e -x
44

55
if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
6-
git clone --depth 1 https://github.com/yyuu/pyenv.git ~/.pyenv
7-
PYENV_ROOT="$HOME/.pyenv"
8-
PATH="$PYENV_ROOT/bin:$PATH"
6+
brew update >/dev/null
7+
brew upgrade pyenv
98
eval "$(pyenv init -)"
109

1110
if ! (pyenv versions | grep "${PYTHON_VERSION}$"); then
1211
pyenv install ${PYTHON_VERSION}
1312
fi
13+
1414
pyenv global ${PYTHON_VERSION}
1515
pyenv rehash
1616
fi

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ matrix:
3838
services: [docker]
3939

4040
- os: osx
41-
env: BUILD=tests,wheels PYTHON_VERSION=3.5.4 PIP_USER=1
41+
env: BUILD=tests,wheels PYTHON_VERSION=3.5.5
4242

4343
- os: osx
4444
osx_image: xcode8.3
45-
env: BUILD=tests,wheels PYTHON_VERSION=3.6.4 PIP_USER=1
45+
env: BUILD=tests,wheels PYTHON_VERSION=3.6.5
4646

4747
allow_failures:
4848
- python: "3.7-dev"

0 commit comments

Comments
 (0)