-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
38 lines (33 loc) · 1.01 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
language: android
jdk: oraclejdk8
sudo: required
env:
global:
- ANDROID_API_LEVEL=23
- EMULATOR_API_LEVEL=21
- ANDROID_BUILD_TOOLS_VERSION=23.0.2
- ANDROID_ABI=armeabi-v7a
- ANDROID_TRAVIS=1
android:
components:
- tools
- platform-tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
# Specify both versions to resolve issue with missing image from google repository
- android-$ANDROID_API_LEVEL
- android-$EMULATOR_API_LEVEL
- extra-android-support
- extra-android-m2repository
- extra-android-google_play_services
- extra-google-m2repository
# Launch android emulator and wait for it
before_script:
- echo no | android create avd --force -n test -t "android-"$EMULATOR_API_LEVEL --abi $ANDROID_ABI #--tag $ANDROID_TAG
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
script:
- ./gradlew jacocoTestReport coveralls
notifications:
email: false
slack: assogenda:m88NLRiY4UxkgThbI1ONxdFr