Work toward Python 3.4 support and testing

Change-Id: Ib3b52a1f548c897d2b4d6028cf82ee23ceed126d
This commit is contained in:
Jeremy Stanley
2014-09-03 19:04:32 +00:00
parent 70dcb60796
commit 0a65eeab25

View File

@@ -1,6 +1,6 @@
[tox] [tox]
minversion = 1.6 minversion = 1.6
envlist = py26,py27,py33,pypy,pep8 envlist = py26,py27,py33,py34,pypy,pep8
# NOTE(dhellmann): We cannot set skipdist=True # NOTE(dhellmann): We cannot set skipdist=True
# for oslo libraries because of the namespace package. # for oslo libraries because of the namespace package.
#skipsdist = True #skipsdist = True
@@ -23,6 +23,12 @@ deps = -r{toxinidir}/requirements-py3.txt
commands = commands =
python -m oslo.concurrency.lockutils python -m testtools.run tests.unit.test_lockutils python -m oslo.concurrency.lockutils python -m testtools.run tests.unit.test_lockutils
[testenv:py34]
deps = -r{toxinidir}/requirements-py3.txt
-r{toxinidir}/test-requirements.txt
commands =
python -m oslo.concurrency.lockutils python -m testtools.run tests.unit.test_lockutils
[testenv:pep8] [testenv:pep8]
commands = flake8 commands = flake8