-
Notifications
You must be signed in to change notification settings - Fork 187
/
.travis.yml
39 lines (29 loc) · 858 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
# installing Java 8 JDK is required to prevent getting "Unsupported major.minor version 52.0" error
jdk:
- oraclejdk8
# Travis now has Xenial builds as default -> https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment
# Though, Android builds are not yet supported on Xenial
dist: trusty
android:
components:
- tools
- platform-tools
- build-tools-29.0.0
- android-29
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
licenses:
- 'android-sdk-license-.+'
before_install:
- yes | sdkmanager "platforms;android-29"
script:
- ./gradlew clean check --stacktrace --no-daemon
- ./gradlew build jacocoTestReport assembleAndroidTest
after_success:
- bash <(curl -s https://codecov.io/bash)
sudo:
false
notifications:
email: false