diff options
author | Steve Piercy <web@stevepiercy.com> | 2018-11-27 16:56:10 -0800 |
---|---|---|
committer | Steve Piercy <web@stevepiercy.com> | 2018-11-27 16:56:10 -0800 |
commit | 7819a9f9579139bace88b3f7a06bfac3583493d1 (patch) | |
tree | 18aa05df79dc9386ad4f1ef7f6dec0f9009acca5 /tox.ini | |
parent | 2f1ef79953dfa6e0c7e898467d1a2d6cb026db5f (diff) | |
download | pastedeploy-git-7819a9f9579139bace88b3f7a06bfac3583493d1.tar.gz |
add docs env to tox
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,5 +1,6 @@ [tox] -envlist = py27, py34, py35, py36, py37, pypy, pypy3 +envlist = py27, py34, py35, py36, py37, pypy, pypy3, + docs [testenv] deps = @@ -9,3 +10,12 @@ deps = pytest-cov commands = py.test --cov=paste/deploy --cov-report=xml --cov-report=html --cov-report=term-missing {posargs} + +[testenv:docs] +# pin to 3.5 to match what RTD uses +basepython = python3.5 +whitelist_externals = make +commands = + make -C docs html epub BUILDDIR={envdir} "SPHINXOPTS=-W -E" +extras = + docs |