File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,26 @@ before_install:
55 - echo yes | android update sdk --filter extra-android-m2repository --no-ui --force > /dev/null
66 - chmod +x ./gradlew
77 - cp local.properties.ci local.properties
8+
89android :
910 components :
1011 - tools
1112 - platform-tools
1213 - build-tools-27.0.3
1314 - android-27
15+ - android-22
16+ - sys-img-armeabi-v7a-android-22
1417 - extra-android-m2repository
1518
1619 licenses :
1720 - android-sdk-license-.+
1821
19- script :
20- - ./gradlew test
22+ before_script :
23+ # Create and start emulator
24+ - echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
25+ - emulator -avd test -no-skin -no-audio -no-window &
26+ - android-wait-for-emulator
27+ - adb shell input keyevent 82 &
28+
29+ script :
30+ - ./gradlew connectedAndroidTest
You can’t perform that action at this time.
0 commit comments