-
Notifications
You must be signed in to change notification settings - Fork 101
/
.travis.yml
39 lines (34 loc) · 941 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
language: android
jdk: oraclejdk8
branches:
only:
- master
env:
global:
- ANDROID_API_LEVEL=24
- ANDROID_BUILD_TOOLS_VERSION=24.0.0
- ANDROID_ABI=armeabi-v7a
- ADB_INSTALL_TIMEOUT=8 # minutes (2 minutes by default)
- ANDROID_EMULATOR_API=23
android:
components:
- platform-tools
- tools
- tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-23
- android-$ANDROID_API_LEVEL
- extra-android-m2repository
- sys-img-x86-android-$ANDROID_EMULATOR_API
- sys-img-armeabi-v7a-android-$ANDROID_EMULATOR_API
licenses:
- android-sdk-license-.+
- google-gdk-license-.+
# Emulator Management: Create, Start and Wait
#before_script:
# - echo no | android create avd --force -n test -t android-$ANDROID_EMULATOR_API --abi $ANDROID_ABI
# - emulator -avd test -no-audio -no-window &
# - android-wait-for-emulator
# - adb shell input keyevent 82 &
script:
- ./gradlew check -PdisablePreDex