Skip to content

Commit 5ef7542

Browse files
jaredsburrowsvanniktech
authored andcommitted
remove codecov and use coveralls (#73)
1 parent 72f6e8e commit 5ef7542

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,12 @@ groovy:
77
jdk:
88
- oraclejdk8
99

10-
before_install:
11-
- pip install --user codecov
12-
1310
install: true
1411

15-
script: ./gradlew clean build
12+
script: ./gradlew clean build coveralls
1613

1714
after_success:
1815
- .buildscript/deploy_snapshot.sh
19-
- codecov
2016

2117
env:
2218
global:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# gradle-android-junit-jacoco-plugin
22

33
[![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)
55
[![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
66
![Java 7 required](https://img.shields.io/badge/java-7-brightgreen.svg)
77

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ buildscript {
77
dependencies {
88
classpath 'com.gradle.publish:plugin-publish-plugin:0.9.1'
99
classpath 'com.github.ben-manes:gradle-versions-plugin:0.13.0'
10+
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.1'
1011
classpath 'com.vanniktech:gradle-android-junit-jacoco-plugin:0.7.0'
1112
}
1213
}
@@ -16,6 +17,7 @@ apply plugin: 'java'
1617
apply plugin: 'com.github.ben-manes.versions'
1718
apply plugin: 'com.gradle.plugin-publish'
1819
apply plugin: 'com.vanniktech.android.junit.jacoco'
20+
apply plugin: 'com.github.kt3k.coveralls'
1921

2022
repositories {
2123
jcenter()
@@ -76,4 +78,8 @@ artifacts {
7678
archives sourcesJar
7779
}
7880

81+
coveralls {
82+
jacocoReportPath = "${buildDir}/reports/jacoco/test/jacocoTestReport.xml"
83+
}
84+
7985
apply from: file('gradle/gradle-mvn-push.gradle')

0 commit comments

Comments
 (0)