summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJonathan Huot <JonathanHuot@users.noreply.github.com>2018-03-18 10:59:11 +0100
committerPieter Ennes <pieter@ennes.nl>2018-03-18 09:59:11 +0000
commitf398fdb7b0ac7b0aa11408d11a4358524360ac77 (patch)
tree688f55ba0ff759dd250eb326105992a363ce1c84 /tox.ini
parent70b5827566dc3c0dd8f05cfbb8311b905f7a7254 (diff)
downloadoauthlib-f398fdb7b0ac7b0aa11408d11a4358524360ac77.tar.gz
Fix ReadTheDocs build (#521)
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 2546bee..3dded41 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,8 +10,12 @@ commands=nosetests --with-coverage --cover-erase --cover-package=oauthlib -w tes
deps=unittest2
{[testenv]deps}
+# tox -e docs to mimick readthedocs build.
+# as of today, RTD is using python2.7 and doesn't run "setup.py install"
[testenv:docs]
+basepython=python2.7
+skipsdist=True
deps=sphinx
changedir=docs
whitelist_externals=make
-commands=make html
+commands=make clean html