Skip to content

Commit bc3c924

Browse files
authored
Update .travis.yml
1 parent 3fe4bcf commit bc3c924

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.travis.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,23 @@ android:
1010
- platform-tools
1111
- build-tools-24.0.1
1212
- android-24
13-
- extra-android-m2repository
13+
- extra-android-m2repository # Design Support library
14+
- sys-img-armeabi-v7a-android-21 # system image (emulator)
1415
licenses:
1516
- android-sdk-license-.+
1617

18+
env:
19+
global:
20+
- ADB_INSTALL_TIMEOUT=8 # timeout (in minutes)
21+
22+
# Emulator Management: create, start & wait
23+
before_script:
24+
- echo no | android create avd --force -n test -t android-21 --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+
1729
script:
18-
- ./gradlew build connectedCheck
30+
- android list target
31+
- ./gradlew build connectedCheck
32+
- ./gradlew connectedAndroidTest

0 commit comments

Comments
 (0)