-
Notifications
You must be signed in to change notification settings - Fork 44
/
.travis.yml
44 lines (35 loc) · 1.04 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
language: android
jdk: oraclejdk8
sudo: required
env:
global:
- ANDROID_API_LEVEL=27
- ANDROID_BUILD_TOOLS_VERSION=27.0.3
- ANDROID_EMU_API_LEVEL=27
- ANDROID_ABI=x86
before_install:
- touch ~/.android/repositories.cfg
- yes | sdkmanager "platforms;android-$ANDROID_API_LEVEL"
android:
components:
- tools
- platform-tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-$ANDROID_API_LEVEL
- android-$ANDROID_EMU_API_LEVEL
- extra-android-support
- extra-android-m2repository
- extra-google-m2repository
- sys-img-$ANDROID_ABI-google_apis-$ANDROID_EMU_API_LEVEL
licenses:
- '.+'
before_script:
- android list targets
# - echo no | android create avd --force -n test -t android-$ANDROID_EMU_API_LEVEL --abi google_apis/$ANDROID_ABI
# - emulator -avd test -no-audio -no-window &
# - android-wait-for-emulator
# - adb shell input keyevent 82 &
script:
- ./gradlew assemble # build createMockDebugCoverageReport jacocoTestReport
#after_success:
# - bash <(curl -s https://codecov.io/bash)