File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,12 @@ groovy:
7
7
jdk :
8
8
- oraclejdk8
9
9
10
- before_install :
11
- - pip install --user codecov
12
-
13
10
install : true
14
11
15
- script : ./gradlew clean build
12
+ script : ./gradlew clean build coveralls
16
13
17
14
after_success :
18
15
- .buildscript/deploy_snapshot.sh
19
- - codecov
20
16
21
17
env :
22
18
global :
Original file line number Diff line number Diff line change 1
1
# gradle-android-junit-jacoco-plugin
2
2
3
3
[ ![ Build Status] ( https://travis-ci.org/vanniktech/gradle-android-junit-jacoco-plugin.svg?branch=master )] ( https://travis-ci.org/vanniktech/gradle-android-junit-jacoco-plugin?branch=master )
4
- [ ![ Codecov ] ( https://codecov. io/github /vanniktech/gradle-android-junit-jacoco-plugin/coverage .svg?branch=master )] ( https://codecov .io/github/vanniktech/gradle-android-junit-jacoco-plugin?branch=master )
4
+ [ ![ Coveralls Code Coverage ] ( https://img.shields. io/coveralls /vanniktech/gradle-android-junit-jacoco-plugin/master .svg?label=Code%20Coverage )] ( https://coveralls .io/github/vanniktech/gradle-android-junit-jacoco-plugin?branch=master )
5
5
[ ![ License] ( http://img.shields.io/:license-apache-blue.svg )] ( http://www.apache.org/licenses/LICENSE-2.0.html )
6
6
![ Java 7 required] ( https://img.shields.io/badge/java-7-brightgreen.svg )
7
7
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ buildscript {
7
7
dependencies {
8
8
classpath ' com.gradle.publish:plugin-publish-plugin:0.9.1'
9
9
classpath ' com.github.ben-manes:gradle-versions-plugin:0.13.0'
10
+ classpath ' org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.1'
10
11
classpath ' com.vanniktech:gradle-android-junit-jacoco-plugin:0.7.0'
11
12
}
12
13
}
@@ -16,6 +17,7 @@ apply plugin: 'java'
16
17
apply plugin : ' com.github.ben-manes.versions'
17
18
apply plugin : ' com.gradle.plugin-publish'
18
19
apply plugin : ' com.vanniktech.android.junit.jacoco'
20
+ apply plugin : ' com.github.kt3k.coveralls'
19
21
20
22
repositories {
21
23
jcenter()
@@ -76,4 +78,8 @@ artifacts {
76
78
archives sourcesJar
77
79
}
78
80
81
+ coveralls {
82
+ jacocoReportPath = " ${ buildDir} /reports/jacoco/test/jacocoTestReport.xml"
83
+ }
84
+
79
85
apply from : file(' gradle/gradle-mvn-push.gradle' )
You can’t perform that action at this time.
0 commit comments