mirror of https://github.com/nextcloud/android
simplify test min sdk
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
8dba90993d
commit
1b461d3e03
|
@ -185,7 +185,6 @@ steps:
|
|||
GIT_TOKEN:
|
||||
from_secret: GIT_TOKEN
|
||||
ORG_GRADLE_PROJECT_coverage: ''
|
||||
ORG_GRADLE_PROJECT_screenshot: ''
|
||||
commands:
|
||||
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
|
||||
- emulator-headless -avd android-27 -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
|
||||
|
@ -240,7 +239,6 @@ steps:
|
|||
GIT_TOKEN:
|
||||
from_secret: GIT_TOKEN
|
||||
ORG_GRADLE_PROJECT_coverage: ''
|
||||
ORG_GRADLE_PROJECT_screenshot: ''
|
||||
commands:
|
||||
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
|
||||
- emulator-headless -avd android-27 -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
|
||||
|
|
|
@ -156,9 +156,6 @@ android {
|
|||
buildTypes {
|
||||
debug {
|
||||
testCoverageEnabled (project.hasProperty('coverage'))
|
||||
if (project.hasProperty('screenshot')) {
|
||||
minSdkVersion 21 // remove once we use 21 globally, only needed for karumi.shot
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -192,6 +189,7 @@ android {
|
|||
testOptions {
|
||||
unitTests.returnDefaultValues = true
|
||||
animationsDisabled true
|
||||
minSdkVersion 21
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue