Test against explicit major versions of Python 67/13267/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 31 Oct 2018 22:16:31 +0000 (18:16 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 31 Oct 2018 22:16:35 +0000 (18:16 -0400)
We need to support py27 and py34 for Cent OS but list later
interpreters for local builds.

Bump minimum tox version to 2.0 to ensure we have support for the
skip_missing_interpreters configuration.

Change-Id: If8eb6c988c4fe558ac411e1b1001b265cae9ae99
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
tox.ini

diff --git a/tox.ini b/tox.ini
index 5eb24f7..8d17dcd 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,13 +1,17 @@
 [tox]
-minversion = 1.6
+minversion = 2.0
 envlist =
     check-hooks,
     coala,
     docs,
     docs-linkcheck,
     license,
-    py2,
-    py3
+    py27,
+    py34,
+    py35,
+    py36,
+    py37
+skip_missing_interpreters = true
 
 [testenv]
 deps = -r{toxinidir}/requirements-test.txt