From dd79a38607c40db86de950b4c1ecdff443fe68f4 Mon Sep 17 00:00:00 2001 From: Mickael JEZEQUEL Date: Thu, 8 Mar 2018 16:18:04 +0100 Subject: fix sonar job configuration Change-Id: I437da70e82fe970f8455bb45e9454959ec6cfc3c Issue-ID: VNFSDK-39 Signed-off-by: Mickael JEZEQUEL --- validation-scripts/pom.xml | 10 ++++++---- validation-scripts/tox.ini | 13 ++----------- 2 files changed, 8 insertions(+), 15 deletions(-) (limited to 'validation-scripts') diff --git a/validation-scripts/pom.xml b/validation-scripts/pom.xml index a08f8af..3b13708 100644 --- a/validation-scripts/pom.xml +++ b/validation-scripts/pom.xml @@ -30,10 +30,12 @@ under the License. vnfsdk-ice-scripts python scripts for HEAT template validation - py - Python - **/*.py - false + . + coverage.xml + py + Python + **/*.py + version.py,setup.py diff --git a/validation-scripts/tox.ini b/validation-scripts/tox.ini index 882140f..62964eb 100644 --- a/validation-scripts/tox.ini +++ b/validation-scripts/tox.ini @@ -40,7 +40,7 @@ [tox] skipsdist=True -envlist = py27,py3,style +envlist = py27,py35 [testenv] distribute = False @@ -48,16 +48,7 @@ commands = {envpython} --version pytest --version coverage run --module pytest ice_validator --self-test -rxXs - coverage report + coverage xml deps = -rrequirements.txt - flake8 coverage -[testenv:style] -commands = flake8 ice_validator - -[testenv:py27] -basepython=python2.7 - -[testenv:py3] -basepython=python3.6 -- cgit 1.2.3-korg