2022-08-18 18:19:54 -05:00
|
|
|
|
2014-05-17 22:22:21 -05:00
|
|
|
[tox]
|
2023-02-12 09:29:21 -06:00
|
|
|
envlist = py36, py37, py39
|
2014-05-17 22:22:21 -05:00
|
|
|
|
|
|
|
[testenv]
|
2014-11-08 16:17:31 -06:00
|
|
|
commands =
|
2018-06-14 20:24:14 -05:00
|
|
|
pip install --upgrade pip
|
2022-08-18 18:19:54 -05:00
|
|
|
pip install --upgrade setuptools wheel
|
2022-08-18 18:23:30 -05:00
|
|
|
pip install --upgrade --upgrade-strategy eager Tailbone[tests] rattail[auth,bouncer,db] rattail-tempmon
|
2022-08-18 18:19:54 -05:00
|
|
|
pytest {posargs}
|
2014-05-17 22:22:21 -05:00
|
|
|
|
|
|
|
[testenv:coverage]
|
2020-12-04 18:27:47 -06:00
|
|
|
basepython = python3
|
2014-11-08 16:17:31 -06:00
|
|
|
commands =
|
2018-06-14 20:24:14 -05:00
|
|
|
pip install --upgrade pip
|
2022-08-18 18:23:30 -05:00
|
|
|
pip install --upgrade --upgrade-strategy eager Tailbone[tests] rattail[auth,bouncer,db] rattail-tempmon
|
2022-08-18 18:19:54 -05:00
|
|
|
pytest --cov=tailbone --cov-report=html
|
2014-05-17 22:22:21 -05:00
|
|
|
|
|
|
|
[testenv:docs]
|
2020-12-04 18:27:47 -06:00
|
|
|
basepython = python3
|
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
|
2022-08-18 18:23:30 -05:00
|
|
|
pip install --upgrade --upgrade-strategy eager Tailbone[docs] rattail[auth,bouncer,db] rattail-tempmon
|
2014-11-08 16:17:31 -06:00
|
|
|
sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs
|