diff --git a/tox.ini b/tox.ini index 6d0016c0..35c75aed 100644 --- a/tox.ini +++ b/tox.ini @@ -35,6 +35,17 @@ deps = commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html +[testenv:{py36,py37,py38,py39}-doctest] +commands = + py36,py37,py38,py39: nosetests -v --with-doctest --doctest-options=+NORMALIZE_WHITESPACE petl -I"csv_py2\.py" -I"db\.py" + +[testenv:{py36,py37,py38,py39}-dochtml] +changedir = docs +deps = + -rrtfd_requirements.txt +commands = + sphinx-build -W -b singlehtml -d {envtmpdir}/doctrees . _build/singlehtml + [testenv:mysqldb] basepython = python2.7 setenv =