Skip to content

Commit 00127a6

Browse files
committed
Just use builtin pyenv and tox
1 parent ef4f1c8 commit 00127a6

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.travis.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ install:
2121
if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
2222
pip install --upgrade pip setuptools tox-travis
2323
elif [[ "$TRAVIS_OS_NAME" = "osx" ]]; then
24-
brew tap drolando/homebrew-deadsnakes
25-
brew install zlib
26-
brew install python34 python35 python36 python3 pypy
27-
pip install --upgrade pip setuptools
28-
pip install tox
24+
export LDFLAGS="${LDFLAGS} -L/usr/local/opt/zlib/lib"
25+
export CPPFLAGS="${CPPFLAGS} -I/usr/local/opt/zlib/include"
26+
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH} /usr/local/opt/zlib/lib/pkgconfig"
27+
versions=(3.7.2 3.6.8 3.5.6 3.4.9 2.7.15 pypy3.5-6.0 pypy2.7-6.0.0)
28+
for ver in $versions; do
29+
pyenv install -s "$ver"
30+
done
31+
pyenv global $versions
2932
fi
3033
script: tox

0 commit comments

Comments
 (0)