Commit 791d5e58 authored by Ricki Hirner's avatar Ricki Hirner

Include OpenTasks apk for testing

parent 76068749
......@@ -6,12 +6,11 @@ before_script:
cache:
paths:
- .gradle/
- apk/
test:
script:
- (cd /sdk/emulator; ./emulator @test -no-audio -no-window & wait-for-emulator.sh)
- (mkdir -p apk && cd apk && wget -nc -q https://f-droid.org/repo/org.dmfs.tasks_481.apk && adb install org.dmfs.tasks_481.apk)
- adb install src/androidTest/resources/org.dmfs.tasks_6760.apk
- ./gradlew check connectedCheck
artifacts:
paths:
......
......@@ -69,6 +69,8 @@ dependencies {
task grantPermissions(dependsOn: 'installDebugAndroidTest') {
doFirst {
def adb = android.getAdbExe().toString()
// grant permissions
[
'android.permission.READ_CALENDAR',
'android.permission.WRITE_CALENDAR',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment