File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ before_install:
1717before_script :
1818 - test -z "$(git status --porcelain)" || (git status && echo Error Working directory is not clean. Forget to commit generated files? && false)
1919
20+ after_success :
21+ - ./gradlew :grpc-all:coveralls
22+
2023jdk :
2124 - oraclejdk8
2225
Original file line number Diff line number Diff line change 1+ apply plugin : ' com.github.kt3k.coveralls'
2+
13description = " gRPC: All"
24
5+ buildscript {
6+ repositories {
7+ mavenCentral()
8+ }
9+ dependencies {
10+ classpath ' org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.0.1'
11+ }
12+ }
13+
314// Make sure that no transitive dependencies are included.
415configurations. compile. transitive = false
516
@@ -55,8 +66,20 @@ task jacocoMerge(type: JacocoMerge) {
5566
5667jacocoTestReport {
5768 dependsOn(jacocoMerge)
69+ reports {
70+ xml. enabled = true
71+ html. enabled = true
72+ }
5873
5974 additionalSourceDirs = files(subprojects. sourceSets. main. allSource. srcDirs)
6075 sourceDirectories = files(subprojects. sourceSets. main. allSource. srcDirs)
6176 classDirectories = files(subprojects. sourceSets. main. output)
6277}
78+
79+ coveralls {
80+ sourceDirs = subprojects. sourceSets. main. allSource. srcDirs. flatten()
81+ }
82+
83+ tasks. coveralls {
84+ dependsOn(jacocoTestReport)
85+ }
You can’t perform that action at this time.
0 commit comments