-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
30 lines (30 loc) · 902 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
language: android
jdk:
- oraclejdk8
android:
components:
- tools
- android-25
- build-tools-25.0.3
- platform-tools
- sys-img-armeabi-v7a-android-22
- extra-android-support
- extra-android-m2repository
licenses:
- '.+'
env:
global:
- ADB_INSTALL_TIMEOUT=8
before_script:
- echo no | android create avd --force -n test -t android-19 --abi armeabi-v7a
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell settings put global window_animation_scale 0 &
- adb shell settings put global transition_animation_scale 0 &
- adb shell settings put global animator_duration_scale 0 &
- adb shell input keyevent 82 &
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
before_install:
- echo "sdk.dir=$ANDROID_HOME" >> local.properties