Skip to content

Commit

Permalink
[travis] Bump to latest versions for non-Linux platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
frozencemetery committed Feb 21, 2020
1 parent 1703013 commit 1f7acf7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
16 changes: 13 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# need to explictly define each builder for test due to different os types
include:
- stage: test
env: DISTRO=debian:stable PYTHON="3" # 3.4, not 3.5
env: DISTRO=debian:stable PYTHON="3" # 3.7

- stage: test
env: DISTRO=debian:stable PYTHON="3" KRB5_VER="heimdal"
Expand All @@ -42,6 +42,7 @@ jobs:
- stage: test
env: DISTRO=fedora:latest PYTHON="3" FLAKE="yes"

# Travis defaults to 10.13 (i.e., not latest), so specify osx_image
- &osx_test
stage: test
env: PYTHON="3" KRB5_VER="heimdal" PYENV="3.6.3"
Expand All @@ -51,10 +52,13 @@ jobs:

- &win_test
stage: test
env: PYTHON="3" PYENV="3.7.3"
env: PYTHON="3" PYENV="3.8.1"
os: windows
language: sh # Windows not supported yet

- <<: *win_test
env: PYTHON="3" PYENV="3.7.3"

- <<: *win_test
env: PYTHON="3" PYENV="3.6.8"

Expand Down Expand Up @@ -122,10 +126,16 @@ jobs:
- ./.travis/deploy-win.sh
env:
- PYTHON="3"
- PYENV="3.7.3"
- PYENV="3.8.1"
language: sh # Travis doesn't support python here

- <<: *win_deploy
env:
- PYTHON="3"
- PYENV="3.7.3"

- <<: *win_deploy
env:
- PYTHON="3"
- PYENV="3.6.8"

3 changes: 2 additions & 1 deletion .travis/lib-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ setup::rh::install() {
}

setup::macos::install() {
# install Python from pyenv so we know what version is being used
# Install Python from pyenv so we know what version is being used. This
# doesn't work for newer macos.
pyenv install $PYENV
pyenv global $PYENV
virtualenv -p $(pyenv which python) .venv
Expand Down

0 comments on commit 1f7acf7

Please sign in to comment.