Skip to content

Commit

Permalink
Setup codecov.io integration; resolves #1
Browse files Browse the repository at this point in the history
  • Loading branch information
ruebot committed Jul 6, 2017
1 parent b726144 commit e37d1c8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ jdk:
- oraclejdk7
- oraclejdk8
- openjdk7
before_install:
before_install:
- "echo $JAVA_OPTS"
- "export JAVA_OPTS=-Xmx512m"

script:
- mvn clean install
- mvn cobertura:cobertura

after_success:
- bash <(curl -s https://codecov.io/bash)
14 changes: 14 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,20 @@
</args>
</configuration>
</plugin>

<!-- for codecov.io -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<formats>
<format>html</format>
<format>xml</format>
</formats>
<check />
</configuration>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit e37d1c8

Please sign in to comment.