summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorZhipeng (Howard) Huang <huangzhipeng@huawei.com>2017-02-27 01:44:31 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-27 01:44:31 +0000
commit280310852bb5e1c7639dedf7ce268e1e66157a51 (patch)
tree992f9f69ad6d7198fa3a7e83cbe1475aa4050eae /tox.ini
parent99368c87bb2e4a93905759dcfc36046243062fd7 (diff)
parent346c5970a79b877435108d061c6ffa20e0fc6b8d (diff)
Merge "Add top layer tox support"
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini26
1 files changed, 26 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..c4b1b0f
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,26 @@
+# this will used to integrate with other components in parser
+# such as verigraph
+[tox]
+minversion = 1.6
+envlist = py27,pep8
+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'
+