summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMarc Abramowitz <marc@marc-abramowitz.com>2014-04-27 17:42:34 -0700
committerMarc Abramowitz <marc@marc-abramowitz.com>2014-04-27 17:42:34 -0700
commitf09620ee9931fd4ce424b1ec0397b7c8404ec135 (patch)
tree220a36297b0aed045bd81e505356d79b1ac911f8 /tox.ini
parent0a99b7efc78cf9a766585144d691719942cd2b69 (diff)
downloadtox-git-f09620ee9931fd4ce424b1ec0397b7c8404ec135.tar.gz
tox.ini: Add "flakes" target
--HG-- branch : tox_ini_add_flakes_target_3
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 1a0027aa..6bcca5ec 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist=py27,py26,py34,py33,py32,pypy
+envlist=py27,py26,py34,py33,py32,pypy,flakes
[testenv:X]
commands=echo {posargs}
@@ -18,6 +18,10 @@ commands=
--junitxml={envlogdir}/junit-{envname}.xml \
check_sphinx.py {posargs}
+[testenv:flakes]
+deps = pytest-flakes>=0.2
+commands = py.test --flakes -m flakes tox tests
+
[testenv:py25]
setenv= PIP_INSECURE=1