forked from Karumi/Dexter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (38 loc) · 1.11 KB
/
.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
41
language: android
jdk: oraclejdk8
dist: trusty
env:
global:
- ADB_INSTALL_TIMEOUT=8 # 8 minutes (2 minutes by default)
android:
components:
- tools
- build-tools-27.0.3
- platform-tools
- tools
- android-27
- android-24
- android-25
- extra-android-support
- extra-google-m2repository
- extra-android-m2repository
- sys-img-armeabi-v7a-android-24
- sys-img-armeabi-v7a-android-25
licenses:
- 'android-sdk-preview-license-52d11cd2'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
-
before_install:
- yes | sdkmanager "platforms;android-28"
-
before_script:
- echo no | android create avd --force -n test -t android-24 --abi armeabi-v7a
- QEMU_AUDIO_DRV=none emulator -avd test -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 checkstyle build test connectedDebugAndroidTest && ./gradlew assembleRelease