diff options
author | Tres Seaver <tseaver@palladion.com> | 2016-10-24 13:52:54 -0400 |
---|---|---|
committer | Tres Seaver <tseaver@palladion.com> | 2016-10-24 14:12:50 -0400 |
commit | de2047833437ba688bf1187cfdbdf2a1d34b2a78 (patch) | |
tree | 5a0a3e6dc3ee2f8b55a7f6716846c43e6e46760a | |
parent | 5253aea19579a0818e47d2d698720665666d849f (diff) | |
download | waitress-build-docs-on-travis.tar.gz |
Split 'epub' docs build into a separate tox environment.build-docs-on-travis
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | tox.ini | 9 |
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 @@ -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 = |