django-downloadview/tox.ini

52 lines
998 B
INI

[tox]
envlist = py27,py33,flake8,sphinx,readme
[testenv]
deps =
nose
rednose
coverage
commands =
pip install ./
pip install -e demo/
demo test --nose-verbosity=2 -c etc/nose/base.cfg -c etc/nose/django_downloadview.cfg django_downloadview
demo test --nose-verbosity=2 demoproject
rm .coverage
pip freeze
whitelist_externals =
rm
[testenv:flake8]
deps =
flake8
commands =
flake8 django_downloadview/
flake8 demo/demoproject/
[testenv:sphinx]
deps =
nose
rednose
Sphinx
commands =
pip install ./
make --directory=docs SPHINXBUILD="sphinx-build -W" clean html doctest
whitelist_externals =
make
[testenv:readme]
deps =
docutils
pygments
commands =
mkdir -p var/docs
rst2html.py --exit-status=2 README.rst var/docs/README.html
rst2html.py --exit-status=2 CONTRIBUTING.rst var/docs/CONTRIBUTING.html
whitelist_externals =
mkdir
[testenv:release]
deps =
zest.releaser
commands =
fullrelease