summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2018-01-25 09:45:58 -0800
committerGitHub <noreply@github.com>2018-01-25 09:45:58 -0800
commit492e6279259008586d29de06ac3e29d5eae6df70 (patch)
treec8c6e7fef3154f7dfb389a554a3716ff80000535
parent2268f4b11cf0a15405a0249044e04e6691532233 (diff)
downloadxattr-492e6279259008586d29de06ac3e29d5eae6df70.tar.gz
Last try to get pypy 2.7 working
-rwxr-xr-x.travis/install.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/.travis/install.sh b/.travis/install.sh
index 8d42495..929099c 100755
--- a/.travis/install.sh
+++ b/.travis/install.sh
@@ -7,11 +7,14 @@ if [[ -n "$PYENV_VERSION" ]]; then
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
brew update && brew upgrade pyenv
brew install readline xz
- export CFLAGS="-I$(xcrun --show-sdk-path)/usr/include"
fi
eval "$(pyenv init -)"
pyenv install --list
- pyenv install -s "$PYENV_VERSION"
+ if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
+ CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install -s "$PYENV_VERSION"
+ else
+ pyenv install -s "$PYENV_VERSION"
+ fi
pyenv rehash
python -m pip install wheel
fi