-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
50 lines (36 loc) · 910 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
44
45
46
47
48
49
50
language: android
sudo: false
env:
global:
- ANDROID_BUILD_TOOLS_VERSION=28.0.3
- ADB_INSTALL_TIMEOUT=10
matrix:
- ANDROID_TARGET=android-23 ANDROID_ABI=armeabi-v7a
android:
components:
# Use the latest revision of Android SDK Tools
- tools
- platform-tools
- tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- $ANDROID_TARGET
- extra-google-m2repository
- extra-android-m2repository
# Specify the system image to run emulator during tests
- sys-img-$ANDROID_ABI-$ANDROID_TARGET
licenses:
- 'android-sdk-preview-license-52d11cd2'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
jdk:
- oraclejdk8
os:
- linux
before_install:
- yes | sdkmanager "build-tools;27.0.3"
before_script:
- pip install --user codecov
script:
- ./gradlew build test
after_success:
- bash <(curl -s https://codecov.io/bash)