Skip to content

Commit c4bd71c

Browse files
authored
Merge pull request #5 from lazycoderio/coverage
coveralls report to travis ci and added in codecov badge to README
2 parents ceebb36 + c9ad9b5 commit c4bd71c

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ before_install:
66
- brew cask install firefox
77
after_success:
88
- bash <(curl -s https://codecov.io/bash)
9+
- mvn clean cobertura:cobertura coveralls:report

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
[![Coverage Status](https://coveralls.io/repos/github/lazycoderio/sample-java-jenkins/badge.svg?branch=master)](https://coveralls.io/github/lazycoderio/sample-java-jenkins?branch=master)
66

7+
[![codecov](https://codecov.io/gh/lazycoderio/sample-java-jenkins/branch/master/graph/badge.svg)](https://codecov.io/gh/lazycoderio/sample-java-jenkins)
8+
9+
710
This project is using the latest Selenium Bindings.
811

912
## Setup

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,18 @@
3636
<artifactId>coveralls-maven-plugin</artifactId>
3737
<version>4.3.0</version>
3838
</plugin>
39+
<plugin>
40+
<groupId>org.codehaus.mojo</groupId>
41+
<artifactId>cobertura-maven-plugin</artifactId>
42+
<version>2.7</version>
43+
<configuration>
44+
<formats>
45+
<format>html</format>
46+
<format>xml</format>
47+
</formats>
48+
<check />
49+
</configuration>
50+
</plugin>
3951
</plugins>
4052
</pluginManagement>
4153
</build>

0 commit comments

Comments
 (0)