forked from BlackBoxVision/material-calendar-view
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
73 lines (67 loc) · 2.22 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
language: android
jdk: oraclejdk8
env:
global:
# switch glibc to a memory conserving mode
- MALLOC_ARENA_MAX=2
# wait up to 10 minutes for adb to connect to emulator
- ADB_INSTALL_TIMEOUT=10
matrix:
- ANDROID_TARGET=android-23 ANDROID_ABI=armeabi-v7a
- ANDROID_TARGET=android-22 ANDROID_ABI=armeabi-v7a
- ANDROID_TARGET=android-21 ANDROID_ABI=armeabi-v7a
- ANDROID_TARGET=android-20 ANDROID_ABI=armeabi-v7a
- ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
- ANDROID_TARGET=android-18 ANDROID_ABI=armeabi-v7a
- ANDROID_TARGET=android-17 ANDROID_ABI=armeabi-v7a
- ANDROID_TARGET=android-16 ANDROID_ABI=armeabi-v7a
- ANDROID_TARGET=android-15 ANDROID_ABI=armeabi-v7a
- ANDROID_TARGET=android-14 ANDROID_ABI=armeabi-v7a
- ANDROID_TARGET=android-13 ANDROID_ABI=armeabi-v7a
- ANDROID_TARGET=android-12 ANDROID_ABI=armeabi-v7a
- ANDROID_TARGET=android-11 ANDROID_ABI=armeabi-v7a
android:
components:
- tools
- build-tools-23.0.2
- extra
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- addon-google_apis-google-23
- android-23
- android-22
- android-21
- android-20
- android-19
- android-18
- android-17
- android-16
- android-15
- android-14
- android-13
- android-12
- android-11
- sys-img-armeabi-v7a-android-23
- sys-img-armeabi-v7a-android-22
- sys-img-armeabi-v7a-android-21
- sys-img-armeabi-v7a-android-20
- sys-img-armeabi-v7a-android-19
- sys-img-armeabi-v7a-android-18
- sys-img-armeabi-v7a-android-17
- sys-img-armeabi-v7a-android-16
- sys-img-armeabi-v7a-android-15
- sys-img-armeabi-v7a-android-14
- sys-img-armeabi-v7a-android-13
- sys-img-armeabi-v7a-android-12
- sys-img-armeabi-v7a-android-11
before_script:
- chmod +x gradlew
script:
- ./gradlew assemble lint
after_script:
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
- ./gradlew connectedCheck