File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 11language : android
22
3+ # setup before install
34before_install :
45 - echo yes | android update sdk --filter extra-android-support --no-ui --force > /dev/null
56 - echo yes | android update sdk --filter extra-android-m2repository --no-ui --force > /dev/null
67 - chmod +x ./gradlew
78 - cp local.properties.ci local.properties
89
10+ # define android packages and licenses
911android :
1012 components :
1113 - tools
1214 - platform-tools
1315 - build-tools-27.0.3
1416 - android-27
15- - android-22
16- - sys-img-armeabi-v7a-android-22
1717 - extra-android-m2repository
1818
1919 licenses :
2020 - android-sdk-license-.+
2121
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-
22+ # only perform unit test only
2923script :
30- - ./gradlew connectedAndroidTest
24+ - ./gradlew test
You can’t perform that action at this time.
0 commit comments