Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Chen committed Nov 25, 2015
1 parent 81cd453 commit ee1a025
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
before_install:
- sudo apt-get install libaio1
install: true
script: mvn clean verify
script: mvn -q clean verify cobertura:cobertura coveralls:report
after_success:
- test "${TRAVIS_PULL_REQUEST}" == "false" && test "${TRAVIS_TAG}" != "" && mvn deploy --settings travis/settings.xml
# before_deploy: cat travis/bintray_template.json | sed s/\$\{TRAVIS_TAG\}/${TRAVIS_TAG}/g > travis/release.json
Expand Down
28 changes: 28 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,34 @@
<tagNameFormat>@{project.version}</tagNameFormat>
</configuration>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.0.0</version>
<configuration>
<repoToken>${env.coveralls_repo_token}</repoToken>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<reportSets>
<reportSet>
<id>cobertura</id>
<reports>
<report>cobertura</report>
</reports>
<configuration>
<aggregate>true</aggregate>
</configuration>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>

0 comments on commit ee1a025

Please sign in to comment.