forked from drakeet/MultiType
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (29 loc) · 818 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
language: android
jdk: oraclejdk8
env:
global:
- ANDROID_TARGET=android-27
- ANDROID_BUILD_TOOLS_VERSION=27.0.1
- ANDROID_ABI=armeabi-v7a
android:
components:
- tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-22
- $ANDROID_TARGET
- sys-img-armeabi-v7a-android-22
- extra-android-m2repository
- extra-android-support
- extra
licenses:
- android-sdk-license-.+
before_install:
- echo yes | android update sdk --all --filter build-tools-$ANDROID_BUILD_TOOLS_VERSION --no-ui --force
before_script:
- chmod +x gradlew
- echo no | android create avd --force -n test -t android-22 --abi $ANDROID_ABI
- emulator -avd test -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
script:
- ./gradlew clean connectedAndroidTest