Skip to content

Commit 52fcc52

Browse files
adding coverage reports
1 parent 7dbe7ae commit 52fcc52

File tree

2 files changed

+26
-5
lines changed

2 files changed

+26
-5
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
language: java
2-
install: gradle assemble
3-
script: gradle test
2+
script: mvn test
3+
after_success:
4+
+ mvn clean cobertura:cobertura coveralls:report

pom.xml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<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">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
34
<modelVersion>4.0.0</modelVersion>
45
<groupId>com.ibm.watson.developer_cloud</groupId>
56
<version>1.0.3-SNAPSHOT</version>
@@ -68,10 +69,10 @@
6869
</repository>
6970
</distributionManagement>
7071
<scm>
71-
<connection>scm:git:git://github.com/watson-developer-cloud/java-wrapper.git</connection>
72+
<connection>SSH</connection>
7273
<developerConnection>scm:git:git@github.com:watson-developer-cloud/java-wrapper.git</developerConnection>
7374
<url>https://github.com/watson-developer-cloud/java-wrapper</url>
74-
<tag>java-wrapper-0.1.6</tag>
75+
<tag>HEAD</tag>
7576
</scm>
7677
<build>
7778
<plugins>
@@ -124,6 +125,21 @@
124125
<goals>deploy</goals>
125126
</configuration>
126127
</plugin>
128+
129+
<plugin>
130+
<groupId>org.codehaus.mojo</groupId>
131+
<artifactId>cobertura-maven-plugin</artifactId>
132+
<version>2.6</version>
133+
<configuration>
134+
<format>xml</format>
135+
<maxmem>256m</maxmem>
136+
</configuration>
137+
</plugin>
138+
<plugin>
139+
<groupId>org.eluder.coveralls</groupId>
140+
<artifactId>coveralls-maven-plugin</artifactId>
141+
<version>3.1.0</version>
142+
</plugin>
127143
</plugins>
128144
<resources>
129145
<resource>
@@ -202,4 +218,8 @@
202218
<system>Github</system>
203219
<url>https://github.com/watson-developer-cloud/java-wrapper/issues</url>
204220
</issueManagement>
221+
<ciManagement>
222+
<system>Travis</system>
223+
<url>https://travis-ci.org/watson-developer-cloud/java-wrapper</url>
224+
</ciManagement>
205225
</project>

0 commit comments

Comments
 (0)