Add Tox for testing on both Python 2.6 and 2.7

This commit is contained in:
Stein Magnus Jodal 2011-02-26 17:23:15 +01:00
parent 57ad32a40f
commit 0c845dd246
3 changed files with 15 additions and 0 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
*.swp *.swp
.coverage .coverage
.noseids .noseids
.tox
MANIFEST MANIFEST
build/ build/
cover/ cover/

View File

@ -1,2 +1,3 @@
coverage coverage
nose nose
tox

13
tox.ini Normal file
View File

@ -0,0 +1,13 @@
[tox]
envlist = py26,py27,docs
[testenv]
deps = nose
commands = nosetests []
[testenv:docs]
basepython = python
changedir = docs
deps = sphinx
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html