b0d1a94eb439b7400671fb617f7210b7bdf9663c
[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 deps = -rdocs/requirements.txt
29 commands =
30     sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
31
32 [testenv:docs-linkcheck]
33 deps = -rdocs/requirements.txt
34 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck