Add tox config for multi-python testing.

Change-Id: I9fdcb44cfe7859a53726c7235ea2b395e0d48160
This commit is contained in:
Monty Taylor 2012-02-06 08:35:10 -05:00
parent d50ce37a21
commit 45da662385
1 changed files with 5 additions and 6 deletions

11
tox.ini
View File

@ -11,15 +11,11 @@ commands = nosetests
deps = pep8
commands = pep8 --repeat --show-source bin melange setup.py
[testenv:pylint]
deps = pylint
commands = pylint --rcfile=pylintrc --output-format=parseable melange
[testenv:cover]
commands = nosetests --with-coverage --cover-html --cover-erase --cover-package=melange
[testenv:sdist]
commands = python setup.py sdist {posargs}
[testenv:venv]
commands = {posargs}
[testenv:hudson]
downloadcache = ~/cache/pip
@ -36,3 +32,6 @@ deps = file://{toxinidir}/.cache.bundle
deps = file://{toxinidir}/.cache.bundle
commands = nosetests --cover-erase --cover-package=melange --with-xcoverage
[testenv:jenkinsvenv]
commands = {posargs}