summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2016-12-20 05:20:08 -0500
committerMatthewLi <matthew.lijun@huawei.com>2016-12-21 03:11:37 -0500
commit1124a453feb24308f58bda363c229f632cafd82f (patch)
tree41758a7569acd06b05666ea069a94aaa855046e6 /tox.ini
parent966c877707a58f6fe9c878c30dc25dbf065898a9 (diff)
dovetail tool: fully tox supported
JIRA: DOVETAIL-165 1, fully tox supported 2, previous easy setup abandoned 3, CI verify job changed accordingly 4, unittest bug fix this should merge after https://gerrit.opnfv.org/gerrit/#/c/26297/ results see https://etherpad.opnfv.org/p/dovetail_report Change-Id: I52ce3999fcde7e817854e4a39f4111eef081bc78 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 6 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 12cf8e32..606bcf62 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,7 @@
[tox]
minversion = 1.6
skipsdist = True
-envlist = py27,pep8
+envlist = py27
[testenv]
basepython=python2
@@ -20,6 +20,11 @@ setenv =
deps = flake8
commands = flake8 {toxinidir}
+[testenv:py27-cover]
+commands = python setup.py testr --coverage \
+ --omit='{toxinidir}/dovetail/tests*' \
+ --testr-args='{posargs}'
+
[flake8]
show-source = True
ignore = E123,E125,H803