mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix tox.ini for pytest
This commit is contained in:
parent
62329c82f6
commit
5cff4b15c2
6
tox.ini
6
tox.ini
@ -4,7 +4,7 @@ envlist=flake8,py27,py34,py35,py36,pypy,du13,du12,du11
|
|||||||
[testenv]
|
[testenv]
|
||||||
deps=
|
deps=
|
||||||
six
|
six
|
||||||
nose
|
pytest
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
whoosh
|
whoosh
|
||||||
html5lib
|
html5lib
|
||||||
@ -15,7 +15,7 @@ setenv =
|
|||||||
SPHINX_TEST_TEMPDIR = {envdir}/testbuild
|
SPHINX_TEST_TEMPDIR = {envdir}/testbuild
|
||||||
PYTHONDONTWRITEBYTECODE = true
|
PYTHONDONTWRITEBYTECODE = true
|
||||||
commands=
|
commands=
|
||||||
{envpython} -Wall tests/run.py --ignore-files=test_autodoc_py35 -m '^[tT]est' {posargs}
|
{envpython} -Wall tests/run.py --ignore tests/py35 {posargs}
|
||||||
sphinx-build -q -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
|
sphinx-build -q -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
|
||||||
|
|
||||||
[testenv:pypy]
|
[testenv:pypy]
|
||||||
@ -48,5 +48,5 @@ deps=
|
|||||||
|
|
||||||
[testenv:py35]
|
[testenv:py35]
|
||||||
commands=
|
commands=
|
||||||
{envpython} -Wall tests/run.py -m '^[tT]est' {posargs}
|
{envpython} -Wall tests/run.py {posargs}
|
||||||
sphinx-build -q -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
|
sphinx-build -q -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
|
||||||
|
Loading…
Reference in New Issue
Block a user