[Tests] downgrade python to v2 on travis

- TCI Support
 - python 2.7
 - skip build-essential
Qasim Abdullah 2023-03-21 22:45:38 +05:00 committed by Jordan Harband
parent edacf8275e
commit ee6f766712
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56
1 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,10 @@ before_install:
- bash --version | head
- zsh --version
- dpkg -s dash | grep ^Version | awk '{print $2}'
- pyenv local 3.9 || echo 'pyenv failed'
# install python
- pyenv install 2.7.18
- pyenv local 2.7.18 || echo 'pyenv failed'
- python -V
install:
- if [ -z "${SHELLCHECK-}" ]; then nvm install 16 && nvm unalias default && npm install && npm prune && npm ls urchin doctoc eclint dockerfile_lint; fi
- '[ -z "$WITHOUT_CURL" ] || sudo apt-get remove curl -y'