2014-05-17 22:22:21 -05:00
|
|
|
[tox]
|
2018-02-24 17:15:49 -06:00
|
|
|
envlist = py27, py35
|
2014-05-17 22:22:21 -05:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
|
|
|
coverage
|
|
|
|
fixture
|
|
|
|
mock
|
|
|
|
nose
|
2014-11-08 16:17:31 -06:00
|
|
|
commands =
|
2018-06-14 20:24:14 -05:00
|
|
|
pip install --upgrade pip
|
|
|
|
pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer] rattail-tempmon
|
2014-11-08 16:17:31 -06:00
|
|
|
nosetests {posargs}
|
2014-05-17 22:22:21 -05:00
|
|
|
|
2020-07-02 12:42:42 -05:00
|
|
|
[testenv:py27]
|
|
|
|
# TODO: this is only here to avoid latest SA-Utils on python2.7
|
|
|
|
deps =
|
|
|
|
coverage
|
|
|
|
fixture
|
|
|
|
mock
|
|
|
|
nose
|
|
|
|
SQLAlchemy-Utils<0.36.7
|
|
|
|
|
2014-05-17 22:22:21 -05:00
|
|
|
[testenv:coverage]
|
|
|
|
basepython = python
|
2014-11-08 16:17:31 -06:00
|
|
|
commands =
|
2018-06-14 20:24:14 -05:00
|
|
|
pip install --upgrade pip
|
|
|
|
pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer] rattail-tempmon
|
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
|
2018-01-11 13:17:07 -06:00
|
|
|
deps =
|
|
|
|
Sphinx
|
|
|
|
sphinx-rtd-theme
|
2014-05-17 22:22:21 -05:00
|
|
|
changedir = docs
|
2014-11-08 16:17:31 -06:00
|
|
|
commands =
|
2018-06-14 20:24:14 -05:00
|
|
|
pip install --upgrade pip
|
|
|
|
pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer] rattail-tempmon
|
2014-11-08 16:17:31 -06:00
|
|
|
sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs
|