Skip to content

Commit

Permalink
fix coveralls job with workaround. see kt3k/coveralls-gradle-plugin#85
Browse files Browse the repository at this point in the history
  • Loading branch information
ancho committed Apr 12, 2020
1 parent 86e457d commit 7ec8761
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
jdk: openjdk11
script:
- "./gradlew -PskipSigning jacocoRootReport coveralls -i --stacktrace"

- curl -F 'json_file=@build/coveralls/report.json' 'https://coveralls.io/api/v1/jobs'

notifications:
irc: "irc.freenode.org#jbake"
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ task testReport(type: TestReport) {
coveralls {
sourceDirs = subprojects.sourceSets.main.allSource.srcDirs.flatten()
jacocoReportPath = "${buildDir}/reports/jacoco/jacocoRootReport/jacocoRootReport.xml"
saveAsFile = true
sendToCoveralls = false
}

tasks.coveralls {
Expand Down

0 comments on commit 7ec8761

Please sign in to comment.