Synchronise the openstack bugs
[parser.git] / tosca2heat / heat-translator / tox.ini
1 [tox]
2 minversion = 1.6
3 envlist = py34,py27,pep8
4 skipsdist = True
5
6 [testenv]
7 usedevelop = True
8 install_command = pip install -U {opts} {packages}
9 setenv =
10    VIRTUAL_ENV={envdir}
11 deps = -r{toxinidir}/requirements.txt
12        -r{toxinidir}/test-requirements.txt
13 commands = python setup.py test --slowest --testr-args='{posargs}'
14
15 [testenv:pep8]
16 commands = flake8
17
18 [testenv:venv]
19 commands = {posargs}
20
21 [testenv:cover]
22 commands = python setup.py test --coverage --coverage-package-name=translator --testr-args='{posargs}'
23
24 [testenv:docs]
25 commands = python setup.py build_sphinx
26
27 [testenv:debug]
28 commands = oslo_debug_helper -t translator/tests {posargs}
29
30 [testenv:py27-tosca-parser-master]
31 commands =
32     ./run_py27-tosca-parser-master.sh
33     python setup.py test --slowest --testr-args='{posargs}'
34
35 [flake8]
36 # H803 skipped on purpose per list discussion.
37 # E123, E125 skipped as they are invalid PEP-8.
38
39 show-source = True
40 ignore = E123,E125,H803
41 builtins = _
42 exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build