]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Install sphinx_rtd_theme when running sphinx tests.
authorBen Darnell <ben@bendarnell.com>
Sun, 13 Jul 2014 03:07:01 +0000 (23:07 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 13 Jul 2014 03:07:01 +0000 (23:07 -0400)
.travis.yml
tox.ini

index 3506ae53f73473012c35912acd57cd535b6a6b87..c32036d4a73abb374736d73afbf4ab8700ee73d8 100644 (file)
@@ -21,7 +21,7 @@ install:
     - if [[ $TRAVIS_PYTHON_VERSION == '3.2' && $DEPS == true ]]; then pip install mock; fi
     # Twisted runs on 2.x and 3.3+, but is flaky on pypy.
     - if [[ $TRAVIS_PYTHON_VERSION != '3.2' && $TRAVIS_PYTHON_VERSION != 'pypy' && $DEPS == true ]]; then pip install Twisted; fi
-    - if [[ $TRAVIS_PYTHON_VERSION == '3.4' && $DEPS == true ]]; then pip install sphinx==1.2.2; fi
+    - if [[ $TRAVIS_PYTHON_VERSION == '3.4' && $DEPS == true ]]; then pip install sphinx==1.2.2 sphinx_rtd_theme; fi
     # On travis the extension should always be built
     - if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then export TORNADO_EXTENSION=1; fi
     - python setup.py install
diff --git a/tox.ini b/tox.ini
index 89f2cd6df8ede27ef784474e6a4b84dc39aa9f5b..0004dd5fd65af4996abdb60d3ffca4bb2dfc6fa8 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -285,6 +285,8 @@ setenv = LANG=en_US.utf-8
 [testenv:py-docs]
 basepython = python3
 changedir = docs
-deps = sphinx==1.2.2
+deps =
+     sphinx==1.2.2
+     sphinx_rtd_theme
 commands =
     sphinx-build -q -E -n -W -b html . {envtmpdir}/html