tailbone/tox.ini

26 lines
808 B
INI
Raw Permalink Normal View History

2014-05-17 22:22:21 -05:00
[tox]
envlist = py36, py37, py39
2014-05-17 22:22:21 -05:00
[testenv]
commands =
pip install --upgrade pip
pip install --upgrade setuptools wheel
pip install --upgrade --upgrade-strategy eager Tailbone[tests] rattail[auth,bouncer,db] rattail-tempmon
pytest {posargs}
2014-05-17 22:22:21 -05:00
[testenv:coverage]
basepython = python3
commands =
pip install --upgrade pip
pip install --upgrade --upgrade-strategy eager Tailbone[tests] rattail[auth,bouncer,db] rattail-tempmon
pytest --cov=tailbone --cov-report=html
2014-05-17 22:22:21 -05:00
[testenv:docs]
basepython = python3
2014-05-17 22:22:21 -05:00
changedir = docs
commands =
pip install --upgrade pip
pip install --upgrade --upgrade-strategy eager Tailbone[docs] rattail[auth,bouncer,db] rattail-tempmon
sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs