summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTres Seaver <tseaver@palladion.com>2016-10-24 13:52:54 -0400
committerTres Seaver <tseaver@palladion.com>2016-10-24 14:12:50 -0400
commitde2047833437ba688bf1187cfdbdf2a1d34b2a78 (patch)
tree5a0a3e6dc3ee2f8b55a7f6716846c43e6e46760a
parent5253aea19579a0818e47d2d698720665666d849f (diff)
downloadwaitress-build-docs-on-travis.tar.gz
Split 'epub' docs build into a separate tox environment.build-docs-on-travis
-rw-r--r--.travis.yml2
-rw-r--r--tox.ini9
2 files changed, 10 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 0865b77..85e1402 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,6 +20,8 @@ matrix:
env: TOXENV=py2-cover,py3-cover,coverage
- python: 3.5
env: TOXENV=docs
+ - python: 3.5
+ env: TOXENV=docs-epub
install:
- travis_retry pip install tox
diff --git a/tox.ini b/tox.ini
index 4864c46..c4a2197 100644
--- a/tox.ini
+++ b/tox.ini
@@ -26,7 +26,14 @@ basepython = python3.5
whitelist_externals = make
commands =
pip install waitress[docs]
- make -C docs html epub BUILDDIR={envdir} "SPHINXOPTS=-W -E"
+ make -C docs html BUILDDIR={envdir} "SPHINXOPTS=-W -E"
+
+[testenv:docs-epub]
+basepython = python3.5
+whitelist_externals = make
+commands =
+ pip install waitress[docs]
+ make -C docs epub BUILDDIR={envdir} "SPHINXOPTS=-W -E"
[py-cover]
commands =