From ee6f766712093c9f505fab38317f2959e7846895 Mon Sep 17 00:00:00 2001 From: Qasim Abdullah <89213175+qasim-at-tci@users.noreply.github.com> Date: Tue, 21 Mar 2023 22:45:38 +0500 Subject: [PATCH] [Tests] downgrade python to v2 on travis - TCI Support - python 2.7 - skip build-essential --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 35348d8faf..a4a774ff0d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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'