summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorOlly Cope <olly@ollycope.com>2018-08-17 19:20:00 +0000
committerOlly Cope <olly@ollycope.com>2018-08-17 19:20:00 +0000
commit3deff9e74151efbf6715bd0d6069ef0effb96a50 (patch)
treef97be67f857ea157317a8e9c18a0ccf9cff55389 /tox.ini
parent9417610378593422c9fbb28c55f6748624ddbacf (diff)
downloadyoyo-3deff9e74151efbf6715bd0d6069ef0effb96a50.tar.gz
tox: move sphinx and flake8 into separate envs
Diffstat (limited to 'tox.ini')
-rwxr-xr-xtox.ini13
1 files changed, 10 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 123aab4..4e4dbae 100755
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27,py35,py36
+envlist = py27,py35,py36,py36-sphinx,py36-flake8
[testenv]
deps=
@@ -12,13 +12,20 @@ deps=
commands=py.test []
-[testenv:py36]
+[testenv:py36-sphinx]
deps=
hg+http://bitbucket.org/ollyc/fresco-sphinx-theme#egg=fresco_sphinx_theme
sphinx
{[testenv]deps}
commands=
- {[testenv]commands}
sphinx-build -b doctest doc html
sphinx-build doc htmldocs
+
+[testenv:py36-flake8]
+deps=
+ flake8
+ {[testenv]deps}
+
+commands=
+ flake8 yoyo