-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.travis.yml
39 lines (30 loc) · 912 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
language: android
android:
components:
- android-21
- platform-tools
- build-tools-21.1.2
- sys-img-armeabi-v7a-android-21
- android-16
- sys-img-armeabi-v7a-android-16
- android-10
- sys-img-x86-android-10
- extra-android-support
- extra-google-m2repository
- extra-android-m2repository
env:
matrix:
- ANDROID_TARGET=android-10 ANDROID_ABI=armeabi
- ANDROID_TARGET=android-16 ANDROID_ABI=armeabi-v7a
- ANDROID_TARGET=android-21 ANDROID_ABI=armeabi-v7a
before_install:
- android list targets
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -gpu off -no-window &
before_script:
- adb devices
- android-wait-for-emulator
- adb shell input keyevent 82 &
script: ./gradlew connectedAndroidTest --stacktrace
after_failure:
- adb logcat -d