mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-04 23:28:19 -05:00
Add coveralls support
This commit is contained in:
parent
5fbbf4ac13
commit
5526c44736
@ -1,4 +1,8 @@
|
||||
# We still need android to get the build tools/support libraries
|
||||
language: android
|
||||
|
||||
script: "bash gradlew jacocoTestReport"
|
||||
script:
|
||||
- ./gradlew test
|
||||
|
||||
after_success:
|
||||
- ./gradlew jacocoTestReport coveralls
|
@ -1,6 +1,17 @@
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'kotlin'
|
||||
apply plugin: 'jacoco'
|
||||
apply plugin: 'com.github.kt3k.coveralls'
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:1.0.2'
|
||||
}
|
||||
}
|
||||
|
||||
def androidModule = project(':app')
|
||||
def firstVariant = androidModule.android.applicationVariants.toList().first()
|
||||
@ -39,8 +50,6 @@ jacocoTestReport {
|
||||
}
|
||||
|
||||
// Back to your regularly scheduled Jacoco
|
||||
dependsOn test
|
||||
|
||||
reports {
|
||||
xml.enabled true
|
||||
csv.enabled false
|
||||
|
Loading…
Reference in New Issue
Block a user