travis 2nd try
This commit is contained in:
parent
52d558388d
commit
d25855295d
|
@ -1,7 +1,6 @@
|
||||||
language: android
|
language: android
|
||||||
jdk: oraclejdk8
|
jdk: oraclejdk8
|
||||||
env:
|
env:
|
||||||
- testCoverageEnabled=true
|
|
||||||
matrix:
|
matrix:
|
||||||
- ANDROID_TARGET=android-23 ANDROID_ABI=x86
|
- ANDROID_TARGET=android-23 ANDROID_ABI=x86
|
||||||
android:
|
android:
|
||||||
|
@ -19,7 +18,7 @@ before_install:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# Unit Test
|
# Unit Test
|
||||||
- ./gradlew test jacocoTestReport
|
- ./gradlew -Pcoverage test jacocoTestReport
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
|
@ -82,7 +82,7 @@ android {
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
debug {
|
debug {
|
||||||
testCoverageEnabled System.getenv("testCoverageEnabled") ? System.getenv("testCoverageEnabled").toBoolean() : false
|
testCoverageEnabled (project.hasProperty('coverage') ? true : false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
productFlavors {
|
productFlavors {
|
||||||
|
|
Loading…
Reference in a new issue