From bae3e174fbe27f9635a6545196b38c601d40ee5b Mon Sep 17 00:00:00 2001 From: Di Xu Date: Fri, 19 Mar 2021 04:09:26 +0000 Subject: [PATCH] test against more python versions in tox and travis --- .travis.yml | 15 +++++++++++++-- tox.ini | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2fe53c1..6f7f075 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,10 @@ language: python python: - "2.7" - "3.5" + - "3.6" + - "3.7" + - "3.8" + - "3.9" matrix: include: @@ -10,11 +14,18 @@ matrix: env: TEST_SUITE=py27 - python: "3.5" env: TEST_SUITE=py35 + - python: "3.6" + env: TEST_SUITE=py36 + - python: "3.7" + env: TEST_SUITE=py37 + - python: "3.8" + env: TEST_SUITE=py38 + - python: "3.9" + env: TEST_SUITE=py39 install: - pip install tox # command to run tests script: - - tox -e pycodestyle - - tox -e $TEST_SUITE + - tox -e pycodestyle,$TEST_SUITE diff --git a/tox.ini b/tox.ini index 0125641..f0b09a6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27,py35,pycodestyle +envlist = py27,py35,py36,py37,py38,py39,pycodestyle [testenv] setenv = VIRTUAL_ENV={envdir}