tailbone/tox.ini
2021-04-28 19:07:42 -05:00

39 lines
1.1 KiB
INI

[tox]
envlist = py27, py35
[testenv]
deps =
coverage
fixture
mock
nose
commands =
pip install --upgrade pip
pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer,db] rattail-tempmon
nosetests {posargs}
[testenv:py27]
# TODO: this only adds the sa-utils restriction, per python2
commands =
pip install --upgrade pip
pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer,db] rattail-tempmon SQLAlchemy-Utils<0.36.7
nosetests {posargs}
[testenv:coverage]
basepython = python3
commands =
pip install --upgrade pip
pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer,db] rattail-tempmon
nosetests {posargs:--with-coverage --cover-html-dir={envtmpdir}/coverage}
[testenv:docs]
basepython = python3
deps =
Sphinx
sphinx-rtd-theme
changedir = docs
commands =
pip install --upgrade pip
pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer,db] rattail-tempmon
sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs