-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
58 lines (52 loc) · 1.38 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
language: android
jdk: oraclejdk8
sudo: false
os: linux
dist: trusty
branches:
only:
- master
- dev
env:
global:
- ANDROID_EMULATOR_LEVEL=android-29
- ANDROID_ABI=armeabi-v7a
- ANDROID_API_LEVEL=29
- ANDROID_BUILDE-TOOL-VERSION=29.0.2
- ANDROID-ABI =armeabi-v7
- ANDROID_TAG
android:
components:
- tools
- platform-tools
- build-tools-29.0.2
- android-29
- extra-google-m2repository
- extra-android-m2repository
- extra-android-support
# Specify at least one system image,
# if you need to run emulator(s) during your tests
- sys-img-armeabi-v7a-android-16
- sys-img-armeabi-v7a-android-18
- sys-img-armeabi-v7a-android-21
- sys-img-armeabi-v7a-android-22
- sys-img-armeabi-v7a-android-25
- sys-img-armeabi-v7a-android-27
- sys-img-armeabi-v7a-android-29
licenses:
- '.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
- 'android-sdk-preview-license-.+'
before_script:
# Create and start emulator.
- android list targets
- echo no | android create avd --force -n test -t "android-"$ANDROID_EMULATOR_LEVEL --abi $ANDROID_ABI --tag $ANDROID_TAG
- emulator -avd test -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
script:
- ./gradlew clean connectedCheck -PdisablePreDex --stacktrace
after_success:
- bash <(curl -s https://codecov.io/bash)