summaryrefslogtreecommitdiffstats
path: root/windriver
diff options
context:
space:
mode:
Diffstat (limited to 'windriver')
-rw-r--r--windriver/pom.xml7
-rw-r--r--windriver/tox.ini1
2 files changed, 8 insertions, 0 deletions
diff --git a/windriver/pom.xml b/windriver/pom.xml
index 70d8b579..df960783 100644
--- a/windriver/pom.xml
+++ b/windriver/pom.xml
@@ -41,6 +41,13 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<nexusproxy>https://nexus.onap.org</nexusproxy>
+ <sonar.sources>.</sonar.sources>
+ <sonar.junit.reportsPath>xunit-results.xml</sonar.junit.reportsPath>
+ <sonar.python.coverage.reportPath>coverage.xml</sonar.python.coverage.reportPath>
+ <sonar.language>py</sonar.language>
+ <sonar.pluginName>Python</sonar.pluginName>
+ <sonar.inclusions>**/*.py</sonar.inclusions>
+ <sonar.exclusions>tests/*,setup.py</sonar.exclusions>
</properties>
<build>
<plugins>
diff --git a/windriver/tox.ini b/windriver/tox.ini
index 90357d66..418f6a14 100644
--- a/windriver/tox.ini
+++ b/windriver/tox.ini
@@ -12,3 +12,4 @@ deps = -r{toxinidir}/requirements.txt
commands =
coverage run --branch manage.py test titanium_cloud
coverage report --omit=".tox/*,*tests*,*__init__.py,*newton*" --fail-under=30
+ coverage xml -i