Skip to content

Commit e9268bd

Browse files
committed
Updated travis ci without emulator
1 parent abf97af commit e9268bd

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.travis.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,24 @@
11
language: android
22

3+
# setup before install
34
before_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
911
android:
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
2923
script:
30-
- ./gradlew connectedAndroidTest
24+
- ./gradlew test

0 commit comments

Comments
 (0)