29 lines
688 B
INI
29 lines
688 B
INI
[tox]
|
|
envlist = py26, py27
|
|
|
|
[testenv]
|
|
deps =
|
|
coverage
|
|
fixture
|
|
mock
|
|
nose
|
|
commands =
|
|
pip install --upgrade Tailbone rattail[auth,bouncer] rattail-tempmon
|
|
nosetests {posargs}
|
|
|
|
[testenv:coverage]
|
|
basepython = python
|
|
commands =
|
|
pip install --upgrade Tailbone rattail[auth,bouncer] rattail-tempmon
|
|
nosetests {posargs:--with-coverage --cover-html-dir={envtmpdir}/coverage}
|
|
|
|
[testenv:docs]
|
|
basepython = python
|
|
deps =
|
|
Sphinx
|
|
sphinx-rtd-theme
|
|
changedir = docs
|
|
commands =
|
|
pip install --upgrade Tailbone rattail[auth,bouncer] rattail-tempmon
|
|
sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs
|