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:
Victor Stinner 2015-08-27 01:09:41 +02:00
parent 70bab151b9
commit bdb7bf4032

View File

@ -1,5 +1,5 @@
[tox]
envlist = py27,pep8
envlist = py34,py27,pep8
minversion = 1.6
skipsdist = True
@ -25,6 +25,10 @@ setenv = VIRTUAL_ENV={envdir}
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:py34]
commands =
nosetests test/unit/common/test_exceptions.py
[testenv:pep8]
commands =
flake8 {posargs:swift test doc setup.py}