[Tests] only install python 2.7 if not already installed

See ee6f7667 / #3067
This commit is contained in:
Jordan Harband 2024-07-06 10:29:55 -05:00
parent e597bb208e
commit 762f9ef9d1
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56

View File

@ -32,7 +32,7 @@ before_install:
- zsh --version
- dpkg -s dash | grep ^Version | awk '{print $2}'
# install python
- pyenv install 2.7.18
- pyenv local 2.7.18 || pyenv install 2.7.18
- pyenv local 2.7.18 || echo 'pyenv failed'
- python -V
install: