Skip to content

Commit

Permalink
start using coveralls to know coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
worksap-bot committed Mar 14, 2014
1 parent 98f5ae4 commit af1fd07
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ language: java
jdk:
- openjdk6
script: "mvn clean install"
after_success:
- mvn clean test jacoco:report coveralls:jacoco
notifications:
email:
recipients:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
FindBugs plugin set from Works Applications. Mainly designed to support J2EE technology and huge project.

[![Build Status](https://secure.travis-ci.org/WorksApplications/findbugs-plugin.png)](http://travis-ci.org/WorksApplications/findbugs-plugin)
[![Coverage Status](https://coveralls.io/repos/WorksApplications/findbugs-plugin/badge.png)](https://coveralls.io/r/WorksApplications/findbugs-plugin)

# how to use with Maven

Expand Down
47 changes: 47 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,53 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.6.3.201306030806</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>2.0.1</version>
</plugin>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.jacoco</groupId>
<artifactId>
jacoco-maven-plugin
</artifactId>
<versionRange>
[0.6.3.201306030806,)
</versionRange>
<goals>
<goal>prepare-agent</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
Expand Down

0 comments on commit af1fd07

Please sign in to comment.