From c8c88796a0f0c36820373e2d8e4c8ca295fc5a0f Mon Sep 17 00:00:00 2001 From: philtay Date: Mon, 6 Mar 2017 11:45:25 +0100 Subject: [PATCH 1/2] Test Python 3.5 and 3.6 --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index a34c4c6..286bf45 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,5 +6,7 @@ python: - "3.2" - "3.3" - "3.4" + - "3.5" + - "3.6" install: pip install tox-travis script: tox From 2f4e3eaada9504e92b45b5df02936375d510164f Mon Sep 17 00:00:00 2001 From: philtay Date: Mon, 6 Mar 2017 12:37:25 +0100 Subject: [PATCH 2/2] Keep tox configuration DRY --- tox.ini | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/tox.ini b/tox.ini index 78801f0..d44a961 100644 --- a/tox.ini +++ b/tox.ini @@ -1,22 +1,13 @@ [tox] -envlist = py26, py27, py31, py32, py33, py34 +envlist = py26, py27, py31, py32, py33, py34, py35, py36 + +[testenv] +commands = python -m unittest discover [testenv:py26] commands = python -m discover deps = discover -[testenv:py27] -commands = python -m unittest discover - [testenv:py31] commands = python -m discover deps = discover - -[testenv:py32] -commands = python -m unittest discover - -[testenv:py33] -commands = python -m unittest discover - -[testenv:py34] -commands = python -m unittest discover