-
Notifications
You must be signed in to change notification settings - Fork 752
/
.travis.yml
34 lines (29 loc) · 858 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
language: android
jdk: oraclejdk8
env:
global:
- ANDROID_ABI=armeabi-v7a
android:
components:
- tools
- android-22
- android-28
- sys-img-armeabi-v7a-android-22
- extra-android-m2repository
- extra-android-support
- extra
licenses:
- android-sdk-license-.+
before_install:
# Install SDK license so Android Gradle plugin can install deps.
- mkdir "$ANDROID_HOME/licenses" || true
- echo "d56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" >> "$ANDROID_HOME/licenses/android-sdk-license"
before_script:
- chmod +x gradlew
- echo no | android create avd --force -n test -t android-22 --abi $ANDROID_ABI
- emulator -avd test -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
script:
- ./gradlew clean connectedAndroidTest