2014-05-17 21:58:22 -05:00
|
|
|
|
|
|
|
[tox]
|
2018-02-24 17:07:29 -06:00
|
|
|
envlist = py27, py35
|
2014-05-17 21:58:22 -05:00
|
|
|
|
|
|
|
[testenv]
|
2014-09-24 01:19:29 -05:00
|
|
|
commands =
|
2018-07-03 20:54:08 -05:00
|
|
|
pip install --upgrade pip
|
|
|
|
pip install --upgrade --upgrade-strategy eager rattail[auth,bouncer,db,tests]
|
2014-09-24 01:19:29 -05:00
|
|
|
nosetests {posargs}
|
2014-05-17 21:58:22 -05:00
|
|
|
|
|
|
|
[testenv:coverage]
|
2020-06-16 16:53:54 -05:00
|
|
|
basepython = python3
|
2018-02-24 17:13:17 -06:00
|
|
|
deps = invoke
|
2014-09-24 01:48:51 -05:00
|
|
|
commands =
|
2018-07-03 20:54:08 -05:00
|
|
|
pip install --upgrade pip
|
2018-08-09 13:55:16 -05:00
|
|
|
pip install --upgrade --upgrade-strategy eager rattail[auth,bouncer,db,tests] appy luigi xlrd
|
2014-09-24 01:48:51 -05:00
|
|
|
nosetests {posargs:--with-coverage --cover-html-dir={envtmpdir}/coverage}
|
2014-05-17 21:58:22 -05:00
|
|
|
|
|
|
|
[testenv:docs]
|
2020-06-16 16:53:54 -05:00
|
|
|
basepython = python3
|
2016-12-16 21:09:12 -06:00
|
|
|
deps =
|
|
|
|
Sphinx
|
2014-05-17 21:58:22 -05:00
|
|
|
changedir = docs
|
2014-09-24 01:48:51 -05:00
|
|
|
commands =
|
2018-07-03 20:54:08 -05:00
|
|
|
pip install --upgrade pip
|
|
|
|
pip install --upgrade --upgrade-strategy eager rattail[auth,bouncer,db,tests]
|
2014-09-24 01:48:51 -05:00
|
|
|
sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs
|