summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 53c797ec349505946c61098de667cfd4b8f9e7d7 (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
[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

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