tox.ini: add py3x-doctest and py3x-dochtml helpers
@@ -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 =
