Fix tox.ini for pytest

This commit is contained in:
Takeshi KOMIYA 2017-01-07 15:36:07 +09:00
parent 62329c82f6
commit 5cff4b15c2

View File

@ -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