tailbone/tox.ini

51 lines
1.3 KiB
INI
Raw Normal View History

2014-05-17 22:22:21 -05:00
[tox]
envlist = py27, py35
2014-05-17 22:22:21 -05:00
[testenv]
deps =
coverage
fixture
mock
nose
commands =
pip install --upgrade pip
pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer] rattail-tempmon
nosetests {posargs}
2014-05-17 22:22:21 -05:00
[testenv:py27]
# TODO: this is only here to avoid "latest" packages which break us on python2.7
deps =
coverage
fixture
mock
nose
SQLAlchemy<1.4
SQLAlchemy-Utils<0.36.7
2014-05-17 22:22:21 -05:00
[testenv:coverage]
basepython = python3
# TODO: capping sqlalchemy for now, to avoid issues w/ zope.sqlalchemy
deps =
coverage
fixture
mock
nose
SQLAlchemy<1.4
commands =
pip install --upgrade pip
pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer] rattail-tempmon
nosetests {posargs:--with-coverage --cover-html-dir={envtmpdir}/coverage}
2014-05-17 22:22:21 -05:00
[testenv:docs]
basepython = python3
# TODO: capping sqlalchemy for now, to avoid issues w/ zope.sqlalchemy
2018-01-11 13:17:07 -06:00
deps =
Sphinx
sphinx-rtd-theme
SQLAlchemy<1.4
2014-05-17 22:22:21 -05:00
changedir = docs
commands =
pip install --upgrade pip
pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer] rattail-tempmon
sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs