Browse Source

Support python 3.5 in tox

Our current tox configuration provides no support for python 3.5
even though it is the version that ships with current ubuntu
(xenial) and Fedora (25) systems, and even though in gate the
python3 jobs run on xenial with python 3.5.

Add py35 env to tox.ini alongside py34, py27, and pep8.

TrivialFix

Change-Id: Ib32069f9185c5233c8f96164781ec66c56db33bd
Tom Barron 2 years ago
parent
commit
d08713c1a3
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      tox.ini

+ 5
- 1
tox.ini View File

@@ -1,7 +1,7 @@
1 1
 [tox]
2 2
 minversion = 2.0
3 3
 skipsdist = True
4
-envlist = py34,py27,pep8
4
+envlist = py35,py34,py27,pep8
5 5
 
6 6
 [testenv]
7 7
 setenv = VIRTUAL_ENV={envdir}
@@ -33,6 +33,10 @@ commands = oslo_debug_helper {posargs}
33 33
 basepython = python3.4
34 34
 commands = oslo_debug_helper {posargs}
35 35
 
36
+[testenv:debug-py35]
37
+basepython = python3.5
38
+commands = oslo_debug_helper {posargs}
39
+
36 40
 [testenv:pep8]
37 41
 commands =
38 42
   flake8 {posargs}

Loading…
Cancel
Save