Merge "toscaparser: Avoid exception when creating our own"
[parser.git] / tox.ini
1 # this will used to integrate with other components in parser
2 # such as verigraph
3 [tox]
4 minversion = 1.6
5 envlist = py27,pep8,docs,docs-linkcheck
6 skipsdist = True
7
8 [testenv]
9 usedevelop = True
10 install_command = pip install -U {opts} {packages}
11 setenv =
12    VIRTUAL_ENV={envdir}
13 deps = -r{toxinidir}/requirements.txt
14
15 [testenv:ht]
16 whitelist_externals =
17     bash
18 commands =
19     bash -c 'cd tosca2heat/heat-translator; tox'
20
21 [testenv:tp]
22 whitelist_externals =
23     bash
24 commands =
25     bash -c 'cd tosca2heat/tosca-parser; tox'
26
27 [testenv:docs]
28 usedevelop = False
29 deps = -rdocs/requirements.txt
30 commands =
31     sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
32
33 [testenv:docs-linkcheck]
34 usedevelop = False
35 deps = -rdocs/requirements.txt
36 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck