Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
chore: tweak coveralls set up as per: kt3k/coveralls-gradle-plugin#85
Browse files Browse the repository at this point in the history
  • Loading branch information
fieldju committed Dec 18, 2019
1 parent d8eeb89 commit 12ffc82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ script:

after_success:
- ./gradlew coveralls
- curl -F 'json_file=@build/coveralls/report.json' 'https://coveralls.io/api/v1/jobs' # https://github.com/kt3k/coveralls-gradle-plugin/issues/85#issuecomment-475958699
- test "${TRAVIS_PULL_REQUEST}" == "false" && test "${TRAVIS_TAG}" != "" && ./gradlew bintrayUpload

before_cache:
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ task aggregatedJacocoReport(type: JacocoReport, group: 'Coverage reports') {
coveralls {
sourceDirs = publishedProjects.sourceSets.main.allSource.srcDirs.flatten()
jacocoReportPath = "${buildDir}/reports/jacoco/aggregatedJacocoReport/aggregatedJacocoReport.xml"
saveAsFile = true
sendToCoveralls = false
}

configurations {
Expand Down

0 comments on commit 12ffc82

Please sign in to comment.