[Travis] update Windows Python versions

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.
This commit is contained in:
MinchinWeb 2020-04-07 10:23:59 -06:00
parent 9215dc5692
commit fbd5f090e5

View file

@ -41,13 +41,14 @@ aliases:
os: windows os: windows
language: shell language: shell
env: &env_windows 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 PYTHONIOENCODING: UTF-8
cache: cache:
directories: directories:
- /c/Python36 - /c/Python36
- /c/Python37 - /c/Python37
- /c/Python38 - /c/Python38
- /c/Python39
- /c/ProgramData/chocolatey/lib - /c/ProgramData/chocolatey/lib
- /c/ProgramData/chocolatey/bin - /c/ProgramData/chocolatey/bin
- /c/Users/travis/AppData/Local/pypoetry/Cache - /c/Users/travis/AppData/Local/pypoetry/Cache
@ -60,6 +61,8 @@ jobs:
fast_finish: true fast_finish: true
allow_failures: allow_failures:
- python: nightly - python: nightly
- os: windows
env: JRNL_PYTHON_VERSION=3.9.0-a5
include: include:
- name: Lint, via Black - name: Lint, via Black
@ -96,7 +99,7 @@ jobs:
python: 3.7 python: 3.7
env: env:
<<: *env_windows <<: *env_windows
JRNL_PYTHON_VERSION: 3.7.5 JRNL_PYTHON_VERSION: 3.7.7
# Python 3.8 Tests # Python 3.8 Tests
- name: Python 3.8 on Linux - name: Python 3.8 on Linux
@ -111,13 +114,19 @@ jobs:
python: 3.8 python: 3.8
env: env:
<<: *env_windows <<: *env_windows
JRNL_PYTHON_VERSION: 3.8.0 JRNL_PYTHON_VERSION: 3.8.2
# ... and beyond! # ... and beyond!
- name: Python nightly on Linux - name: Python nightly on Linux
before_install: before_install:
- sed -i 's/^python = ">=3\.6\.0.*"$/python = "*"/' pyproject.toml - sed -i 's/^python = ">=3\.6\.0.*"$/python = "*"/' pyproject.toml
python: nightly 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 # Specialty tests
- name: Python 3.7 on Linux, not UTC - name: Python 3.7 on Linux, not UTC