2014-05-17 22:22:21 -05:00
|
|
|
[tox]
|
|
|
|
envlist = py26, py27
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
|
|
|
coverage
|
|
|
|
fixture
|
|
|
|
mock
|
|
|
|
nose
|
2014-11-08 16:17:31 -06:00
|
|
|
commands =
|
2015-07-28 20:21:21 -05:00
|
|
|
pip install --upgrade Tailbone rattail[bouncer]
|
2014-11-08 16:17:31 -06:00
|
|
|
nosetests {posargs}
|
2014-05-17 22:22:21 -05:00
|
|
|
|
|
|
|
[testenv:coverage]
|
|
|
|
basepython = python
|
2014-11-08 16:17:31 -06:00
|
|
|
commands =
|
2015-07-28 20:21:21 -05:00
|
|
|
pip install --upgrade Tailbone rattail[bouncer]
|
2014-11-08 16:17:31 -06:00
|
|
|
nosetests {posargs:--with-coverage --cover-html-dir={envtmpdir}/coverage}
|
2014-05-17 22:22:21 -05:00
|
|
|
|
|
|
|
[testenv:docs]
|
|
|
|
basepython = python
|
|
|
|
deps = Sphinx
|
|
|
|
changedir = docs
|
2014-11-08 16:17:31 -06:00
|
|
|
commands =
|
2015-07-28 20:21:21 -05:00
|
|
|
pip install --upgrade Tailbone rattail[bouncer]
|
2014-11-08 16:17:31 -06:00
|
|
|
sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs
|