-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
36 lines (31 loc) · 865 Bytes
/
tox.ini
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
33
34
35
36
# this will used to integrate with other components in parser
# such as verigraph
[tox]
minversion = 1.6
envlist = py27,pep8,docs,docs-linkcheck
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
[testenv:ht]
whitelist_externals =
bash
commands =
bash -c 'cd tosca2heat/heat-translator; tox'
[testenv:tp]
whitelist_externals =
bash
commands =
bash -c 'cd tosca2heat/tosca-parser; tox'
[testenv:docs]
usedevelop = False
deps = -rdocs/requirements.txt
commands =
sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
[testenv:docs-linkcheck]
usedevelop = False
deps = -rdocs/requirements.txt
commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck