Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (24 sloc) 620 Bytes
[tox]
envlist = py26,py27,py33
[testenv]
commands =
python setup.py test -q
# without explicit deps, setup.py test will download a bunch of eggs into $PWD
deps =
manuel
zope.testrunner
zope.testing
[testenv:coverage]
basepython =
python2.7
commands =
# The installed version messes up nose's test discovery / coverage reporting
# So, we uninstall that from the environment, and then install the editable
# version, before running nosetests.
pip uninstall -y zc.customdoctests
pip install -e .
nosetests --with-xunit --with-xcoverage
deps =
nose
coverage
nosexcover