Skip to content

Commit 9c1ece5

Browse files
pferateJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
Check for bin directory before cloning pyenv (googleapis#630)
Travis creates cached directories if they are not present, so the pyenv repo was never getting cloned if the cache was empty.
1 parent 5137d7e commit 9c1ece5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fi
2525

2626
# Travis ships with an old version of PyPy, so install at least version 2.6.
2727
if [[ "${TOX_ENV}" == "pypy" ]]; then
28-
if [ ! -d "${HOME}/.pyenv" ]; then
28+
if [ ! -d "${HOME}/.pyenv/bin" ]; then
2929
git clone https://github.com/yyuu/pyenv.git ${HOME}/.pyenv
3030
fi
3131
${HOME}/.pyenv/bin/pyenv install --skip-existing pypy-2.6.0

0 commit comments

Comments
 (0)