Skip to content

Commit 95d46aa

Browse files
authored
Coveralls (#897)
* Update pom.xml * Update build.sh * Create .coveralls
1 parent 741a492 commit 95d46aa

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.coveralls

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
service_name: travis-pro
2+
repo_token: ${env.COVERALLS_REPO_TOKEN}

.utility/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ then
44
echo 'Travis can only publish docs for release builds.'
55
return 0
66
fi
7-
mvn test
7+
mvn test -DrepoToken=$COVERALLS_REPO_TOKEN
88
exit $?

pom.xml

+8
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,14 @@
289289
</execution>
290290
</executions>
291291
</plugin>
292+
<plugin>
293+
<groupId>org.eluder.coveralls</groupId>
294+
<artifactId>coveralls-maven-plugin</artifactId>
295+
<version>4.3.0</version>
296+
<configuration>
297+
<repoToken>yourcoverallsprojectrepositorytoken</repoToken>
298+
</configuration>
299+
</plugin>
292300
</plugins>
293301
</build>
294302
</project>

0 commit comments

Comments
 (0)