-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
31 lines (27 loc) · 824 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
language: android
env:
matrix:
- ANDROID_TARGET=android-18 ANDROID_ABI=armeabi-v7a
global:
# wait up to 10 minutes for adb to connect to emulator
- ADB_INSTALL_TIMEOUT=10
android:
components:
- tools
- build-tools-23.0.2
- android-23
- extra-android-support
- extra-google-m2repository
- extra-android-m2repository
# Emulator for the tests
- sys-img-armeabi-v7a-android-18
script:
before_script:
- echo no | android create avd --force --name test --target $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
script:
- ./gradlew check -PdisablePreDex --continue --stacktrace
- android-wait-for-emulator
- adb devices
- adb shell input keyevent 82 &
- ./gradlew connectedAndroidTest -PdisablePreDex --continue --stacktrace