summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-11-27 03:32:07 -0800
committerSteve Piercy <web@stevepiercy.com>2018-11-27 03:38:28 -0800
commit3323250a1363f48688803a34886fb984a89b4ad0 (patch)
tree07d831db37a549d89e35cfe3913e753357a65013
parent1d851bf3fb50d8d1e34e6b146d7395d9013ed4bb (diff)
downloadpastedeploy-git-3323250a1363f48688803a34886fb984a89b4ad0.tar.gz
Add docs environment to tox. Build via `tox -e docs`.
Closes #9
-rw-r--r--tox.ini12
1 files changed, 11 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 9800db2..7819491 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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