Skip to content

Commit b1813fd

Browse files
committed
Added Codecov.io coverage reporting
1 parent 648f8e3 commit b1813fd

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# kickstart travis.
22
language: java
3+
before_install: sudo pip install codecov
4+
after_success: codecov
35

46
# need to override travis 'install' since it will try gpg sign and fail.
57
install: mvn clean package -DskipTests=true

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# Welcome to the home of Scribe, the simple OAuth Java lib!
1+
# Welcome to the home of Scribe, the simple OAuth Java lib!
22

33
![travis ci](https://secure.travis-ci.org/fernandezpablo85/scribe-java.png?branch=master)
4+
[![codecov.io](https://codecov.io/github/fernandezpablo85/scribe-java/coverage.svg?branch=master)](https://codecov.io/github/fernandezpablo85/scribe-java?branch=master)
45

56
### Before submitting a pull request [please read this](https://github.com/fernandezpablo85/scribe-java/wiki/Scribe-scope-revised)
67

pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,25 @@
137137
</execution>
138138
</executions>
139139
</plugin>
140+
<plugin>
141+
<groupId>org.jacoco</groupId>
142+
<artifactId>jacoco-maven-plugin</artifactId>
143+
<version>0.5.8.201207111220</version>
144+
<executions>
145+
<execution>
146+
<goals>
147+
<goal>prepare-agent</goal>
148+
</goals>
149+
</execution>
150+
<execution>
151+
<id>report</id>
152+
<phase>test</phase>
153+
<goals>
154+
<goal>report</goal>
155+
</goals>
156+
</execution>
157+
</executions>
158+
</plugin>
140159
</plugins>
141160
</build>
142161
</project>

0 commit comments

Comments
 (0)