Skip to content

Commit

Permalink
CI(Travis): Set python version to 3.10 through pyenv global (#4731)
Browse files Browse the repository at this point in the history
* CI(Travis): Set pyenv global to an already installed Python version

Might become unavailable, it will remain dependant on what Travis installs in their images
  • Loading branch information
echoix authored Nov 21, 2024
1 parent 0b9b43b commit f63024f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ env:
- GRASS_EXTRA_CXXFLAGS="-Werror -fPIC -Wfatal-errors"

before_install:
# Show available versions if ever pyenv global fails
- pyenv versions
- pyenv global 3.10
# Show that the selected version is correctly set
- pyenv versions
- ./.travis/$TRAVIS_OS_NAME.before_install.sh

install:
Expand Down

0 comments on commit f63024f

Please sign in to comment.