diff options
-rwxr-xr-x | .travis/install.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis/install.sh b/.travis/install.sh index 0b95980..c003979 100755 --- a/.travis/install.sh +++ b/.travis/install.sh @@ -10,6 +10,8 @@ if [[ -n "$PYENV_VERSION" ]]; then eval "$(pyenv init -)" pyenv install --list pyenv install -s "$PYENV_VERSION" - which pip || (curl -O https://bootstrap.pypa.io/get-pip.py && python get-pip.py) + pyenv rehash + which pip &> /dev/null || (curl -O https://bootstrap.pypa.io/get-pip.py && python get-pip.py) + pyenv rehash pip install wheel fi |