diff --git a/.travis.yml b/.travis.yml index 153637ac4..affaa155d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/build.gradle b/build.gradle index 29c46ac5f..0f889eb0b 100644 --- a/build.gradle +++ b/build.gradle @@ -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 {