Add tox for local multi-version testing.

This commit is contained in:
Dave Shawley 2014-11-14 08:13:45 -05:00
parent 336c47dd9a
commit 4e47fce5c7
2 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,6 @@
-r requirements.txt
-r test-requirements.txt
detox>=0.9,<1
sphinx>=1.2,<2
sphinx-rtd-theme>=0.1,<1.0
sphinxcontrib-httpdomain>=1.2,<2

13
tox.ini Normal file
View file

@ -0,0 +1,13 @@
[tox]
envlist = py26,py27,py33,py34
[testenv]
deps =
-rrequirements.txt
-rtest-requirements.txt
commands = {envbindir}/nosetests
[testenv:py26]
deps =
{[testenv]deps}
unittest2