Skip to content

Commit 8411196

Browse files
committedSep 20, 2017
Update pypy version regexp to get last release
PyPy changed naming conention since 5.8 release, not it's called pypy2.7-x.x.x
1 parent b8fabee commit 8411196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ install:
3131
rm -rf "$PYENV_ROOT" && git clone --depth 1 https://github.com/yyuu/pyenv.git "$PYENV_ROOT"
3232
fi
3333
# get latest portable PyPy from pyenv directly (thanks to natural version sort option -V)
34-
export PYPY_VERSION=`"$PYENV_ROOT/bin/pyenv" install --list |grep -o -E 'pypy-portable-[0-9][\.0-9]*$' |sort -V |tail -1`
34+
export PYPY_VERSION=`"$PYENV_ROOT/bin/pyenv" install --list |grep -o -E 'pypy2.7-portable-[0-9][\.0-9]*$' |sort -V |tail -1`
3535
"$PYENV_ROOT/bin/pyenv" install --skip-existing "$PYPY_VERSION"
3636
virtualenv --python="$PYENV_ROOT/versions/$PYPY_VERSION/bin/python" "$HOME/virtualenvs/$PYPY_VERSION"
3737
source "$HOME/virtualenvs/$PYPY_VERSION/bin/activate"

0 commit comments

Comments
 (0)
Please sign in to comment.