[#757] Group tests by python version

This commit is contained in:
Jonathan Wren 2019-11-29 16:21:03 -08:00
parent 52934a78e4
commit b349f5c477

View file

@ -43,49 +43,55 @@ jobs:
- os: windows - os: windows
include: include:
- stage: Test # Python 3.6 Tests
- name: Python 3.6 on Linux - name: Python 3.6 on Linux
python: 3.6 python: 3.6
- name: Python 3.7 on Linux
python: 3.7
- name: Python 3.7 on Linux, not UTC
python: 3.7
env:
- TZ=America/Edmonton
- name: Python 3.8 on Linux
python: 3.8
- name: Python nightly on Linux
python: nightly
- <<: *test_mac - <<: *test_mac
name: Python 3.6 on MacOS name: Python 3.6 on MacOS
env: env:
- JRNL_PYTHON_VERSION=3.6.8 - JRNL_PYTHON_VERSION=3.6.8
- <<: *test_mac
name: Python 3.7 on MacOS
env:
- JRNL_PYTHON_VERSION=3.7.4
- <<: *test_mac
name: Python 3.8 on MacOS
env:
- JRNL_PYTHON_VERSION=3.8.0
- <<: *test_windows - <<: *test_windows
name: Python 3.6 on Windows name: Python 3.6 on Windows
env: env:
- JRNL_PYTHON_VERSION=3.6.8 - JRNL_PYTHON_VERSION=3.6.8
- PATH=/c/Python36:/c/Python36/Scripts:$PATH - PATH=/c/Python36:/c/Python36/Scripts:$PATH
# Python 3.7 Tests
- name: Python 3.7 on Linux
python: 3.7
- <<: *test_mac
name: Python 3.7 on MacOS
env:
- JRNL_PYTHON_VERSION=3.7.4
- <<: *test_windows - <<: *test_windows
name: Python 3.7 on Windows name: Python 3.7 on Windows
env: env:
- JRNL_PYTHON_VERSION=3.7.5 - JRNL_PYTHON_VERSION=3.7.5
- PATH=/c/Python37:/c/Python37/Scripts:$PATH - PATH=/c/Python37:/c/Python37/Scripts:$PATH
# Python 3.8 Tests
- name: Python 3.8 on Linux
python: 3.8
- <<: *test_mac
name: Python 3.8 on MacOS
env:
- JRNL_PYTHON_VERSION=3.8.0
- <<: *test_windows - <<: *test_windows
name: Python 3.8 on Windows name: Python 3.8 on Windows
env: env:
- JRNL_PYTHON_VERSION=3.8.0 - JRNL_PYTHON_VERSION=3.8.0
- PATH=/c/Python38:/c/Python38/Scripts:$PATH - PATH=/c/Python38:/c/Python38/Scripts:$PATH
# ... and beyond!
- name: Python nightly on Linux
python: nightly
# Specialty tests
- name: Python 3.7 on Linux, not UTC
python: 3.7
env:
- TZ=America/Edmonton
- stage: Deploy - stage: Deploy
if: branch = master AND tag IS present if: branch = master AND tag IS present
before_deploy: before_deploy: