Skip to content

Commit 3eaa05f

Browse files
committed
pyenv: skip installed version
1 parent c14d4d8 commit 3eaa05f

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
@@ -32,7 +32,7 @@ before_install:
3232
- zsh --version
3333
- dpkg -s dash | grep ^Version | awk '{print $2}'
3434
# install python
35-
- pyenv install 2.7.18
35+
- [ -d "$(pyenv root)/versions/2.7.18" ] || pyenv install 2.7.18
3636
- pyenv local 2.7.18 || echo 'pyenv failed'
3737
- python -V
3838
install:

0 commit comments

Comments
 (0)