sphinx/tox.ini
Georg Brandl d47a7587f9 Complete test suite overhaul.
* rename a few test modules to make the names more consistent

* do not copy/use Sphinx from build/ (unnecessary without 2to3)

* use a temporary dir for *all* test projects, the source tree
  will stay pristine that way  (default is tests/build)

* speed up tests by ~3x by splitting up test projects and avoiding
  rebuilds
2014-09-21 17:17:02 +02:00

48 lines
663 B
INI

[tox]
envlist=py26,py27,py33,py34,pypy,du12,du11,du10
[testenv]
deps=
nose
sqlalchemy
whoosh
setenv =
SPHINX_TEST_TEMPDIR = {envdir}/testbuild
commands=
{envpython} tests/run.py {posargs}
sphinx-build -q -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
[testenv:py26]
deps=
mock
{[testenv]deps}
[testenv:py27]
deps=
mock
{[testenv]deps}
[testenv:pypy]
deps=
mock
simplejson
{[testenv]deps}
[testenv:du10]
deps=
mock
docutils==0.10
{[testenv]deps}
[testenv:du11]
deps=
mock
docutils==0.11
{[testenv]deps}
[testenv:du12]
deps=
mock
docutils==0.12
{[testenv]deps}