summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2019-06-25 15:43:29 -0700
committerTim Burke <tim.burke@gmail.com>2019-06-27 16:48:33 -0700
commit113eacf3b80f61d366b3e95b558b40f82ff728a4 (patch)
tree59aeb3dcb0dc70dc00e975af5b4288f8ef32fc4e /tox.ini
parentb52c13f648ccc0f83fa5f4308fbdf7830869c0b9 (diff)
downloadpython-swiftclient-113eacf3b80f61d366b3e95b558b40f82ff728a4.tar.gz
Isolate docs requirements
...since modern sphinx won't install on py27. While we're at it, clean up some warnings and treat warnings as errors. Also, fix up how we parse test configs so we can run func tests. Related-Change: Id3c2ed87230c5918c18e2c01d086df8157f036b1 Change-Id: I3718f69610545b0dbcb0a2ab45b400da3a45682c
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 5 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 4635491..84a5419 100644
--- a/tox.ini
+++ b/tox.ini
@@ -65,8 +65,10 @@ commands = {[testenv:func]commands}
[testenv:docs]
basepython = python3
+usedevelop = False
+deps = -r{toxinidir}/doc/requirements.txt
commands=
- python setup.py build_sphinx
+ python setup.py build_sphinx -W
[flake8]
# it's not a bug that we aren't using all of hacking, ignore:
@@ -96,6 +98,8 @@ commands = bindep test
[testenv:releasenotes]
basepython = python3
+usedevelop = False
+deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:lower-constraints]