1866d8dd07
ugh this needs some better attention soon!
32 lines
781 B
INI
32 lines
781 B
INI
[tox]
|
|
envlist = py27, py35
|
|
|
|
[testenv]
|
|
deps =
|
|
coverage
|
|
fixture
|
|
mock
|
|
nose
|
|
commands =
|
|
pip install 'pip<10.0'
|
|
pip install --upgrade Tailbone rattail[auth,bouncer] rattail-tempmon
|
|
nosetests {posargs}
|
|
|
|
[testenv:coverage]
|
|
basepython = python
|
|
commands =
|
|
pip install 'pip<10.0'
|
|
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 'pip<10.0'
|
|
pip install --upgrade Tailbone rattail[auth,bouncer] rattail-tempmon
|
|
sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs
|