Add sonar pom and tox hooks.
Rebase sonar (+/951) onto v11.
Change-Id: I21feed13a1007d5e1556afb9eac340f4ea43b0f2
Signed-off-by: Tommy Carpenter <tc677g@att.com>
diff --git a/tox.ini b/tox.ini
index dc9f690..edf4828 100644
--- a/tox.ini
+++ b/tox.ini
@@ -28,7 +28,9 @@
RMR_RETRY_TIMES = 2
# Note, before this will work, for the first time on that machine, run ./install_deps.sh
-commands=pytest --verbose --cov {envsitepackagesdir}/a1 --cov-report term-missing --cov-report html
+commands =
+ pytest --junitxml xunit-results.xml --verbose --cov {envsitepackagesdir}/a1 --cov-report term-missing --cov-report html --cov-report xml
+ coverage xml -i
[testenv:flake8]
basepython = python3.7