Skip to content

Commit

Permalink
[Travis] update Windows Python versions
Browse files Browse the repository at this point in the history
Updates Python 3.7.5 to 3.7.7 and 3.8.0 to 3.8.2.
Also add the alpha 5 build of Python 3.9 as an allowable failure.
  • Loading branch information
MinchinWeb committed Apr 7, 2020
1 parent 9215dc5 commit fbd5f09
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,14 @@ aliases:
os: windows
language: shell
env: &env_windows
PATH: /c/Python36:/c/Python36/Scripts:/c/Python37:/c/Python37/Scripts:/c/Python38:/c/Python38/Scripts:$PATH
PATH: /c/Python36:/c/Python36/Scripts:/c/Python37:/c/Python37/Scripts:/c/Python38:/c/Python38/Scripts:/c/Python39:/c/Python39/Scripts:$PATH
PYTHONIOENCODING: UTF-8
cache:
directories:
- /c/Python36
- /c/Python37
- /c/Python38
- /c/Python39
- /c/ProgramData/chocolatey/lib
- /c/ProgramData/chocolatey/bin
- /c/Users/travis/AppData/Local/pypoetry/Cache
Expand All @@ -60,6 +61,8 @@ jobs:
fast_finish: true
allow_failures:
- python: nightly
- os: windows
env: JRNL_PYTHON_VERSION=3.9.0-a5

include:
- name: Lint, via Black
Expand Down Expand Up @@ -96,7 +99,7 @@ jobs:
python: 3.7
env:
<<: *env_windows
JRNL_PYTHON_VERSION: 3.7.5
JRNL_PYTHON_VERSION: 3.7.7

# Python 3.8 Tests
- name: Python 3.8 on Linux
Expand All @@ -111,13 +114,19 @@ jobs:
python: 3.8
env:
<<: *env_windows
JRNL_PYTHON_VERSION: 3.8.0
JRNL_PYTHON_VERSION: 3.8.2

# ... and beyond!
- name: Python nightly on Linux
before_install:
- sed -i 's/^python = ">=3\.6\.0.*"$/python = "*"/' pyproject.toml
python: nightly
- <<: *test_windows
name: Python 3.9-alpha on Windows
python: 3.9
env:
<<: *env_windows
JRNL_PYTHON_VERSION: 3.9.0-a5

# Specialty tests
- name: Python 3.7 on Linux, not UTC
Expand Down

0 comments on commit fbd5f09

Please sign in to comment.