Skip to content

Commit

Permalink
Try to discover if Py38 is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Arellano committed Oct 22, 2020
1 parent 9787f03 commit 18743fe
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
- find build-support -name "*.py[co]" -delete
- ./build-support/bin/prune_travis_cache.sh
before_install:
- ls /opt/pythonpyenv root
- pyenv global
- ./build-support/bin/install_aws_cli_for_ci.sh
- pyenv global 2.7.15 3.6.7 3.7.1 3.8.0
Expand Down Expand Up @@ -108,6 +109,7 @@ jobs:
- find build-support -name "*.py[co]" -delete
- ./build-support/bin/prune_travis_cache.sh
before_install:
- ls /opt/pythonpyenv root
- pyenv global
- ./build-support/bin/install_aws_cli_for_ci.sh
- pyenv global 2.7.15 3.6.7 3.7.1 3.8.0
Expand Down Expand Up @@ -163,6 +165,7 @@ jobs:
- find build-support -name "*.py[co]" -delete
- ./build-support/bin/prune_travis_cache.sh
before_install:
- ls /opt/pythonpyenv root
- pyenv global
- ./build-support/bin/install_aws_cli_for_ci.sh
- pyenv global 2.7.15 3.6.7 3.7.1 3.8.0
Expand Down Expand Up @@ -341,6 +344,7 @@ jobs:
- du -m -d2 ${HOME}/.cache/pants | sort -r -n
- ./build-support/bin/prune_travis_cache.sh
before_install:
- ls /opt/pythonpyenv root
- pyenv global
- ./build-support/bin/install_aws_cli_for_ci.sh
- pyenv global 2.7.15 3.6.7 3.7.1 3.8.0
Expand Down Expand Up @@ -394,6 +398,7 @@ jobs:
- du -m -d2 ${HOME}/.cache/pants | sort -r -n
- ./build-support/bin/prune_travis_cache.sh
before_install:
- ls /opt/pythonpyenv root
- pyenv global
- ./build-support/bin/install_aws_cli_for_ci.sh
- pyenv global 2.7.15 3.6.7 3.7.1 3.8.0
Expand Down Expand Up @@ -447,6 +452,7 @@ jobs:
- du -m -d2 ${HOME}/.cache/pants | sort -r -n
- ./build-support/bin/prune_travis_cache.sh
before_install:
- ls /opt/pythonpyenv root
- pyenv global
- ./build-support/bin/install_aws_cli_for_ci.sh
- pyenv global 2.7.15 3.6.7 3.7.1 3.8.0
Expand Down Expand Up @@ -485,6 +491,7 @@ jobs:
- find build-support -name "*.py[co]" -delete
- ./build-support/bin/prune_travis_cache.sh
before_install:
- ls /opt/pythonpyenv root
- pyenv global
- ./build-support/bin/install_aws_cli_for_ci.sh
- pyenv global 2.7.15 3.6.7 3.7.1 3.8.0
Expand Down Expand Up @@ -535,6 +542,7 @@ jobs:
- du -m -d2 ${HOME}/.cache/pants | sort -r -n
- ./build-support/bin/prune_travis_cache.sh
before_install:
- ls /opt/pythonpyenv root
- pyenv global
- ./build-support/bin/install_aws_cli_for_ci.sh
- pyenv global 2.7.15 3.6.7 3.7.1 3.8.0
Expand Down Expand Up @@ -588,6 +596,7 @@ jobs:
- du -m -d2 ${HOME}/.cache/pants | sort -r -n
- ./build-support/bin/prune_travis_cache.sh
before_install:
- ls /opt/pythonpyenv root
- pyenv global
- ./build-support/bin/install_aws_cli_for_ci.sh
- pyenv global 2.7.15 3.6.7 3.7.1 3.8.0
Expand Down Expand Up @@ -641,6 +650,7 @@ jobs:
- du -m -d2 ${HOME}/.cache/pants | sort -r -n
- ./build-support/bin/prune_travis_cache.sh
before_install:
- ls /opt/pythonpyenv root
- pyenv global
- ./build-support/bin/install_aws_cli_for_ci.sh
- pyenv global 2.7.15 3.6.7 3.7.1 3.8.0
Expand Down Expand Up @@ -677,6 +687,7 @@ jobs:
- find build-support -name "*.py[co]" -delete
- ./build-support/bin/prune_travis_cache.sh
before_install:
- ls /opt/pythonpyenv root
- pyenv global
- ./build-support/bin/install_aws_cli_for_ci.sh
- pyenv global 2.7.15 3.6.7 3.7.1 3.8.0
Expand Down Expand Up @@ -759,6 +770,7 @@ jobs:
- du -m -d2 ${HOME}/.cache/pants | sort -r -n
- ./build-support/bin/prune_travis_cache.sh
before_install:
- ls /opt/pythonpyenv root
- pyenv global
- ./build-support/bin/install_aws_cli_for_ci.sh
- pyenv global 2.7.15 3.6.7 3.7.1 3.8.0
Expand Down Expand Up @@ -1093,6 +1105,7 @@ jobs:
- du -m -d2 ${HOME}/.cache/pants | sort -r -n
- ./build-support/bin/prune_travis_cache.sh
before_install:
- ls /opt/pythonpyenv root
- pyenv global
- ./build-support/bin/install_aws_cli_for_ci.sh
- pyenv global 2.7.15 3.6.7 3.7.1 3.8.0
Expand Down Expand Up @@ -1152,6 +1165,7 @@ jobs:
- du -m -d2 ${HOME}/.cache/pants | sort -r -n
- ./build-support/bin/prune_travis_cache.sh
before_install:
- ls /opt/pythonpyenv root
- pyenv global
- ./build-support/bin/install_aws_cli_for_ci.sh
- pyenv global 2.7.15 3.6.7 3.7.1 3.8.0
Expand Down
2 changes: 2 additions & 0 deletions build-support/bin/generate_travis_yml.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ def _linux_before_install(
include_test_config: bool = True, install_travis_wait: bool = False
) -> List[str]:
commands = [
"ls /opt/python"
"pyenv root",
"pyenv global",
"./build-support/bin/install_aws_cli_for_ci.sh",
# TODO(John Sirois): Get rid of this in favor of explicitly adding pyenv versions to the PATH:
Expand Down

0 comments on commit 18743fe

Please sign in to comment.