From 346c5970a79b877435108d061c6ffa20e0fc6b8d Mon Sep 17 00:00:00 2001 From: Julien Date: Sun, 26 Feb 2017 22:44:45 +0800 Subject: Add top layer tox support It's easy to test each project. Change-Id: I85f25a60a6fa90992cd0ca3b0631ffd8c4ef9685 Signed-off-by: Julien --- tox.ini | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tox.ini (limited to 'tox.ini') 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' + -- cgit 1.2.3-korg