From bdb7bf40321bc36b45a25742b6e1aed73576fabc Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 27 Aug 2015 01:09:41 +0200 Subject: [PATCH] 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 --- tox.ini | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 3205461cba..ac22896de4 100644 --- a/tox.ini +++ b/tox.ini @@ -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}