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]
|
2020-12-04 18:06:53 -06:00
|
|
|
# TODO: this is only here to avoid "latest" packages which break us on python2.7
|
2020-07-02 12:42:42 -05:00
|
|
|
deps =
|
|
|
|
coverage
|
|
|
|
fixture
|
|
|
|
mock
|
|
|
|
nose
|
2021-01-14 12:47:37 -06:00
|
|
|
SQLAlchemy<1.4
|
2020-07-02 12:42:42 -05:00
|
|
|
SQLAlchemy-Utils<0.36.7
|
|
|
|
|
2014-05-17 22:22:21 -05:00
|
|
|
[testenv:coverage]
|
2020-12-04 18:27:47 -06:00
|
|
|
basepython = python3
|
2020-12-04 18:46:58 -06:00
|
|
|
# TODO: capping sqlalchemy for now, to avoid issues w/ zope.sqlalchemy
|
|
|
|
deps =
|
|
|
|
coverage
|
|
|
|
fixture
|
|
|
|
mock
|
|
|
|
nose
|
|
|
|
SQLAlchemy<1.4
|
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]
|
2020-12-04 18:27:47 -06:00
|
|
|
basepython = python3
|
2020-12-04 18:46:58 -06:00
|
|
|
# TODO: capping sqlalchemy for now, to avoid issues w/ zope.sqlalchemy
|
2018-01-11 13:17:07 -06:00
|
|
|
deps =
|
|
|
|
Sphinx
|
|
|
|
sphinx-rtd-theme
|
2020-12-04 18:46:58 -06:00
|
|
|
SQLAlchemy<1.4
|
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
|