forked from Meituan-Dianping/walle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (35 loc) · 953 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
41
42
43
language: android
jdk: oraclejdk8
env:
matrix:
- ANDROID_TARGET=android-24 ANDROID_ABI=armeabi-v7a
android:
components:
- tools
- platform-tools
- tools
- build-tools-24.0.1
- android-24
- extra-android-m2repository
- extra-google-m2repository
- extra-android-support
- sys-img-armeabi-v7a-android-24
licenses:
- 'android-sdk-license-.+'
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
before_script:
- android update sdk --no-ui --filter build-tools-24.0.1,android-24,extra-android-m2repository
# Create and start emulator
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- adb wait-for-device
- adb shell input keyevent 82 &
os:
- linux
script:
- ./gradlew build connectedCheck
cache:
directories:
- $HOME/.gradle