Add environment variable to handle testCoverage
This commit is contained in:
parent
8219332a2c
commit
b10f8f2fe1
|
@ -1,6 +1,7 @@
|
|||
language: android
|
||||
jdk: oraclejdk8
|
||||
env:
|
||||
- testCoverageEnabled=true
|
||||
matrix:
|
||||
- ANDROID_TARGET=android-23 ANDROID_ABI=x86
|
||||
android:
|
||||
|
|
|
@ -82,7 +82,7 @@ android {
|
|||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
debug {
|
||||
testCoverageEnabled true
|
||||
testCoverageEnabled System.getenv("testCoverageEnabled") ? System.getenv("testCoverageEnabled").toBoolean() : false
|
||||
}
|
||||
}
|
||||
productFlavors {
|
||||
|
|
Loading…
Reference in a new issue