Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Commit

Permalink
Add code coverage via coveralls.io
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
  • Loading branch information
caniszczyk committed Jul 1, 2014
1 parent 7435a97 commit 620f15e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ language: java
script: umask 0022 && mvn test
jdk:
- openjdk7
after_success:
- mvn clean cobertura:cobertura coveralls:cobertura
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
hRaven [![Build Status](https://travis-ci.org/twitter/hraven.png)](https://travis-ci.org/twitter/hraven)
hRaven [![Build Status](https://travis-ci.org/twitter/hraven.png)](https://travis-ci.org/twitter/hraven) [![Coverage Status](https://coveralls.io/repos/twitter/hraven/branch.png?branch=master)](https://coveralls.io/r/twitter/hraven?branch=master)
==========

hRaven collects run time data and statistics from map reduce jobs running on
Expand Down
15 changes: 15 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,21 @@
<attach>false</attach>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.5.2</version>
<configuration>
<format>xml</format>
<maxmem>256m</maxmem>
<aggregate>true</aggregate>
</configuration>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>2.2.0</version>
</plugin>
</plugins>
</build>
<profiles>
Expand Down

0 comments on commit 620f15e

Please sign in to comment.