From eca3be017a8a48a0ed933a65898c7e7fa0767bad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederik=20=E2=80=9CFreso=E2=80=9D=20S=2E=20Olesen?= Date: Sun, 15 Dec 2019 00:57:37 +0100 Subject: [PATCH 1/2] Test against Python versions 3.6, 3.7, and 3.8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Right now tests are only run against Python 3.5, but we claim we support Python 3.5+ so let’s run our tests against both Python 3.5 and all later (stable) versions. PR: https://github.com/whipper-team/whipper/pull/433 Signed-off-by: Frederik “Freso” S. Olesen --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7f5eae0..00a2e5d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,9 @@ sudo: required language: python python: - "3.5" + - "3.6" + - "3.7" + - "3.8" virtualenv: system_site_packages: false From 7ad4265b18d76c4b65cbeb8dacd2970d70f3e1ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederik=20=E2=80=9CFreso=E2=80=9D=20S=2E=20Olesen?= Date: Sun, 15 Dec 2019 01:03:40 +0100 Subject: [PATCH 2/2] Only run linting tests for one Python version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This creates a specific job with the `FLAKE8` variable set, rather than a setting up a 4×2 matrix. This means we create a total of 5 jobs now rather than 8 jobs. Part of https://github.com/whipper-team/whipper/pull/433 Signed-off-by: Frederik “Freso” S. Olesen --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 00a2e5d..7aa1d08 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,11 @@ cache: pip env: - FLAKE8=false - - FLAKE8=true + +jobs: + include: + - python: 3.5 + env: FLAKE8=true install: # Dependencies