summaryrefslogtreecommitdiffstats
path: root/python-dockering
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2017-09-20 02:18:20 +0000
committerLusheng Ji <lji@research.att.com>2017-09-20 02:33:43 +0000
commit88648fc9fbdb2eba6982b754b46e9edd3f32579b (patch)
treef57385eebb064d469b599cd3a61d60df5ac5f932 /python-dockering
parent4b74774b378d9cfaa48d740f92b12bdca2df04b5 (diff)
Add sonar and push to pypi
Issue-Id: DCAEGEN2-60 Change-Id: I4d2d32ca2c5ffb113c4379a1b3374b1a1dfc1856 Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'python-dockering')
-rw-r--r--python-dockering/pom.xml5
-rw-r--r--python-dockering/tox.ini11
2 files changed, 13 insertions, 3 deletions
diff --git a/python-dockering/pom.xml b/python-dockering/pom.xml
index 37175e5..b71e77c 100644
--- a/python-dockering/pom.xml
+++ b/python-dockering/pom.xml
@@ -21,20 +21,19 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.onap.dcaegen2</groupId>
+ <groupId>org.onap.dcaegen2.utils</groupId>
<artifactId>utils</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<groupId>org.onap.dcaegen2.utils</groupId>
<artifactId>python-dockering</artifactId>
- <name>python-dockering</name>
+ <name>dcaegen2-utils-python-dockering</name>
<version>1.0.0-SNAPSHOT</version>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<sonar.skip>true</sonar.skip>
- <sonar.sources>.</sonar.sources>
<!-- customize the SONARQUBE URL -->
<!-- sonar.host.url>http://localhost:9000</sonar.host.url -->
<!-- below are language dependent -->
diff --git a/python-dockering/tox.ini b/python-dockering/tox.ini
new file mode 100644
index 0000000..987b009
--- /dev/null
+++ b/python-dockering/tox.ini
@@ -0,0 +1,11 @@
+# content of: tox.ini , put in same dir as setup.py
+[tox]
+envlist = py27,py35
+
+[testenv]
+deps=
+ -rrequirements.txt
+ pytest
+ coverage
+ pytest-cov
+commands=pytest --junitxml xunit-results.xml --cov {envsitepackagesdir} --cov-report=xml