diff --git a/.travis.yml b/.travis.yml index 13ae54c91e..fd1d80cf30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,8 +23,12 @@ install: before_script: - test -z "$(git status --porcelain)" || (git status && echo Error Working directory is not clean. Forget to commit generated files? && false) +script: + - ./gradlew check :grpc-all:jacocoTestReport + after_success: - if \[ "$TRAVIS_OS_NAME" = linux \]; then ./gradlew :grpc-all:coveralls; fi + - bash <(curl -s https://codecov.io/bash) os: - linux diff --git a/all/build.gradle b/all/build.gradle index e7a235a621..b5c0b084d4 100644 --- a/all/build.gradle +++ b/all/build.gradle @@ -59,6 +59,8 @@ javadoc { } task jacocoMerge(type: JacocoMerge) { + dependsOn(subprojects.jacocoTestReport.dependsOn) + mustRunAfter(subprojects.jacocoTestReport.mustRunAfter) destinationFile = file("${buildDir}/jacoco/test.exec") executionData = files(subprojects.jacocoTestReport.executionData) .plus(project(':grpc-interop-testing').jacocoTestReport.executionData)