py3: Add py34 test environment to tox
Add a py34 test environment to tox.ini using a whitelist of tests which pass on Python 3. Currently, only test_exceptions.py of test/unit/common/ is run on Python 3 Change-Id: I5c8a9fe7b9635f1acab8f401908975fc6fc58c7a
This commit is contained in:
parent
70bab151b9
commit
bdb7bf4032
6
tox.ini
6
tox.ini
@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py27,pep8
|
envlist = py34,py27,pep8
|
||||||
minversion = 1.6
|
minversion = 1.6
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
@ -25,6 +25,10 @@ setenv = VIRTUAL_ENV={envdir}
|
|||||||
[tox:jenkins]
|
[tox:jenkins]
|
||||||
downloadcache = ~/cache/pip
|
downloadcache = ~/cache/pip
|
||||||
|
|
||||||
|
[testenv:py34]
|
||||||
|
commands =
|
||||||
|
nosetests test/unit/common/test_exceptions.py
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands =
|
commands =
|
||||||
flake8 {posargs:swift test doc setup.py}
|
flake8 {posargs:swift test doc setup.py}
|
||||||
|
Loading…
Reference in New Issue
Block a user