summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCeridwen <ceridwenv@gmail.com>2015-11-02 09:41:41 -0500
committerCeridwen <ceridwenv@gmail.com>2015-11-02 09:41:41 -0500
commit689d41c911753b890afbe361ec3cc085e2ef2bfc (patch)
treef89c6ee8fe355c4215bef2671aa2ac3705efc6ca
parent83f6c45c343cae87f415268959b1056030a5e74c (diff)
downloadastroid-689d41c911753b890afbe361ec3cc085e2ef2bfc.tar.gz
Use conditional deps to simplify tox.ini
-rw-r--r--tox.ini32
1 files changed, 9 insertions, 23 deletions
diff --git a/tox.ini b/tox.ini
index 53c797e..15bda87 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,32 +1,18 @@
[tox]
-# official list is
-# envlist = py27, py33, py34, pypy, jython
-envlist = py27, py33, pylint
-
-[testenv:pylint]
-deps =
- lazy-object-proxy
- singledispatch
- six
- wrapt
- hg+https://bitbucket.org/logilab/pylint
-commands = pylint -rn --rcfile={toxinidir}/pylintrc {envsitepackagesdir}/astroid
+# Official list
+# envlist = py27, py33, py34, py35, pypy, jython, pylint
-# This is commented out because tox will try to load the interpreter
-# for any defined environment even if it's not in envlist, which will
-# then fail on drone.io.
+# drone.io
+envlist = py27, py33, pylint
-# [testenv:py34]
-# deps =
-# lazy-object-proxy
-# six
-# wrapt
+# For testing off drone.io---please don't delete.
+# envlist = py27, py34, pypy, pylint
[testenv]
deps =
lazy-object-proxy
- singledispatch
+ py27,py33,pypy,jython: singledispatch
six
wrapt
-
-commands = python -m unittest discover -s {envsitepackagesdir}/astroid/tests -p "unittest*.py"
+ pylint: hg+https://bitbucket.org/logilab/pylint
+commands = python -m unittest discover -s {envsitepackagesdir}/astroid/tests -p "unittest*.py"