From b349f5c477f36db3c7d6376fb8a6970e37e1c2af Mon Sep 17 00:00:00 2001 From: Jonathan Wren Date: Fri, 29 Nov 2019 16:21:03 -0800 Subject: [PATCH] [#757] Group tests by python version --- .travis.yml | 48 +++++++++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 21 deletions(-) diff --git a/.travis.yml b/.travis.yml index 76214d83..c80e74f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,49 +43,55 @@ jobs: - os: windows include: - - stage: Test + # Python 3.6 Tests - name: Python 3.6 on Linux 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 name: Python 3.6 on MacOS env: - 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 name: Python 3.6 on Windows env: - JRNL_PYTHON_VERSION=3.6.8 - 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 name: Python 3.7 on Windows env: - JRNL_PYTHON_VERSION=3.7.5 - 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 name: Python 3.8 on Windows env: - JRNL_PYTHON_VERSION=3.8.0 - 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 if: branch = master AND tag IS present before_deploy: