add escalator cli framework
[escalator.git] / client / tox.ini
1 [tox]
2 envlist = py26,py27,py33,py34,pypy,pep8
3 minversion = 1.6
4 skipsdist = True
5
6 [testenv]
7 usedevelop = True
8 install_command = pip install -U {opts} {packages}
9 setenv = VIRTUAL_ENV={envdir}
10          OS_STDOUT_NOCAPTURE=False
11          OS_STDERR_NOCAPTURE=False
12          PYTHONHASHSEED=0
13
14 deps = -r{toxinidir}/requirements.txt
15        -r{toxinidir}/test-requirements.txt
16 commands = python setup.py testr --testr-args='{posargs}'
17
18 [testenv:pep8]
19 commands = flake8
20
21 [testenv:venv]
22 commands = {posargs}
23
24 [testenv:cover]
25 commands = python setup.py testr --coverage --testr-args='{posargs}'
26
27 [testenv:docs]
28 commands=
29     python setup.py build_sphinx
30
31 [tox:jenkins]
32 downloadcache = ~/cache/pip
33
34 [flake8]
35 # H233  Python 3.x incompatible use of print operator
36 # H302  import only modules
37 # H303  no wildcard import
38 # H404  multi line docstring should start with a summary
39 ignore = F403,F812,H233,H302,H303,H404,F401,E731
40 show-source = True
41 exclude = .venv,.tox,dist,doc,*egg,build