Skip to content

Commit ee6f766

Browse files
qasim-at-tciljharb
authored andcommitted
[Tests] downgrade python to v2 on travis
- TCI Support - python 2.7 - skip build-essential
1 parent edacf82 commit ee6f766

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ before_install:
2222
- bash --version | head
2323
- zsh --version
2424
- dpkg -s dash | grep ^Version | awk '{print $2}'
25-
- pyenv local 3.9 || echo 'pyenv failed'
25+
# install python
26+
- pyenv install 2.7.18
27+
- pyenv local 2.7.18 || echo 'pyenv failed'
28+
- python -V
2629
install:
2730
- if [ -z "${SHELLCHECK-}" ]; then nvm install 16 && nvm unalias default && npm install && npm prune && npm ls urchin doctoc eclint dockerfile_lint; fi
2831
- '[ -z "$WITHOUT_CURL" ] || sudo apt-get remove curl -y'

0 commit comments

Comments
 (0)