File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff 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
3033script : tox
You can’t perform that action at this time.
0 commit comments