summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-07-30 23:24:00 -0700
committerTodd Leonhardt <todd.leonhardt@gmail.com>2018-07-30 23:24:00 -0700
commitf26fde65d6761a1dda49c26097bdd13242a30f72 (patch)
tree0d356d910bbea0c61a0819dd53223711a594f9dd
parentc1b326ba4bfd89038b9f903aabe48c760eb54058 (diff)
downloadcmd2-git-f26fde65d6761a1dda49c26097bdd13242a30f72.tar.gz
Modify .travis.yml to do the doc build
Also: - Have doc build treat warnings as errors
-rw-r--r--.travis.yml3
-rw-r--r--tox.ini4
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
diff --git a/tox.ini b/tox.ini
index 487bc28c..150589b7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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 =