-
Notifications
You must be signed in to change notification settings - Fork 276
/
.travis.yml
40 lines (33 loc) · 1021 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
38
39
40
language: android
jdk:
- oraclejdk8
env:
global:
- ANDROID_TARGET=android-22
- ANDROID_BUILD_TOOLS_VERSION=30.0.2
- ANDROID_ABI=armeabi-v7a
before_install:
- yes | sdkmanager "platforms;android-30"
android:
components:
- tools
- platform-tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- $ANDROID_TARGET
- extra-android-m2repository
- extra-google-m2repository
- sys-img-armeabi-v7a-android-22
licenses:
- .+
before_script:
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -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 &
script:
- ./gradlew connectedDebugAndroidTest
notifications:
email: false