summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorChayim <chayim@users.noreply.github.com>2021-11-25 16:03:30 +0200
committerGitHub <noreply@github.com>2021-11-25 16:03:30 +0200
commitf4519f3b7f1f7314b5d342be989df1c4365954b9 (patch)
treeb663fc7052c28f65403daf91e0f0e9c686ea2e13 /tox.ini
parent393cd6280c6fb5394cc512ae15617236ecddac2e (diff)
downloadredis-py-f4519f3b7f1f7314b5d342be989df1c4365954b9.tar.gz
Splitting documentation for read the docs (#1743)
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini11
1 files changed, 9 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 0a94db8..33c3971 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,7 +8,7 @@ markers =
[tox]
minversion = 3.2.0
requires = tox-docker
-envlist = {standalone,cluster}-{plain,hiredis}-{py35,py36,py37,py38,py39,pypy3},linters
+envlist = {standalone,cluster}-{plain,hiredis}-{py35,py36,py37,py38,py39,pypy3},linters,docs
[docker:master]
name = master
@@ -128,7 +128,7 @@ commands = /usr/bin/echo
[testenv:linters]
deps_files = dev_requirements.txt
-docker=
+docker =
commands =
flake8
vulture redis whitelist.py --min-confidence 80
@@ -141,6 +141,13 @@ basepython = pypy3
[testenv:pypy3-hiredis]
basepython = pypy3
+[testenv:docs]
+deps_files = docs/requirements.txt
+docker =
+changedir = {toxinidir}/docs
+allowlist_externals = make
+commands = make html
+
[flake8]
exclude =
*.egg-info,