Re-enable publication of coverage reports

Prior to this commit, jacoco coverage report XML files were not actually
being written to disk, meaning that the Gradle coveralls plugin had
nothing to publish to https://coveralls.io/r/ethereum/ethereumj. HTML
reports are now being written as well, for convenient local browsing.
This commit is contained in:
Chris Beams 2014-12-30 20:52:25 +01:00
parent addbcdeb09
commit aa7191d4a6
No known key found for this signature in database
GPG Key ID: 3D214F8F5BC5ED73
2 changed files with 8 additions and 0 deletions

View File

@ -7,6 +7,7 @@ env:
script:
- ./gradlew build publish
# publish coverage report to https://coveralls.io/r/ethereum/ethereumj
after_success:
- ./gradlew jacocoTestReport coveralls

View File

@ -98,6 +98,13 @@ artifacts {
archives javadocJar
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
publishing {
publications {
mavenJava(MavenPublication) {