summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 8b23ed258e799d86b6c34a5bba107278db9ad2e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[tox]
# official list is
# envlist = py27, py33, py34, pypy, jython
envlist = py27, py33, pylint
# envlist = py27, py34

[testenv:pylint]
deps =
  lazy-object-proxy
  singledispatch
  six
  wrapt
  hg+https://bitbucket.org/logilab/pylint
commands = pylint -rn --rcfile={toxinidir}/pylintrc {envsitepackagesdir}/astroid

# 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.

# [testenv:py34]
# deps =
#   lazy-object-proxy
#   six
#   wrapt

[testenv]
deps =
  lazy-object-proxy
  singledispatch
  six
  wrapt

commands = python -m unittest discover -s {envsitepackagesdir}/astroid/tests -p "unittest*.py"