diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-07-30 23:24:00 -0700 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-07-30 23:24:00 -0700 |
commit | f26fde65d6761a1dda49c26097bdd13242a30f72 (patch) | |
tree | 0d356d910bbea0c61a0819dd53223711a594f9dd | |
parent | c1b326ba4bfd89038b9f903aabe48c760eb54058 (diff) | |
download | cmd2-git-f26fde65d6761a1dda49c26097bdd13242a30f72.tar.gz |
Modify .travis.yml to do the doc build
Also:
- Have doc build treat warnings as errors
-rw-r--r-- | .travis.yml | 3 | ||||
-rw-r--r-- | tox.ini | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index d6689c58..30fdc8cf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,9 @@ matrix: - os: linux python: 3.7-dev env: TOXENV=py37 + - os: linux + python: 3.5 + env: TOXENV=docs # # Warning: Don't try to use code coverage analysis with pypy as it is insanely slow # - os: linux # python: pypy3 @@ -10,12 +10,12 @@ setenv = PYTHONPATH={toxinidir} [testenv:docs] -basepython = python3.7 +basepython = python3.5 deps = sphinx sphinx-rtd-theme changedir = docs -commands = sphinx-build -a -b html -d {envtmpdir}/doctrees . {envtmpdir}/html +commands = sphinx-build -a -W -T -b html -d {envtmpdir}/doctrees . {envtmpdir}/html [testenv:py34] deps = |