-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
33 lines (33 loc) · 952 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
env:
global:
- ANDROID_API=29
- ANDROID_BUILD_TOOLS=29.0.2
- ADB_INSTALL_TIMEOUT=5
language: android
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -f $HOME/.gradle/caches/*/classAnalysis/cache.properties.lock
- rm -f $HOME/.gradle/caches/*/jarSnapshots/cache.properties.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
android:
components:
- tools #latest for "builtin" sdk tools (24.4.1 in Android-25)
#To update SDK Tools to latest, another update is required
#- tools #latest, 26.1.1 as of 2018-10-07
#- platform-tools #latest, 28.0.1 as of 2018-10-07
- build-tools-$ANDROID_BUILD_TOOLS
- android-$ANDROID_API
- extra-android-m2repository
- extra-google-m2repository
- extra-google-google_play_services
notifications:
email: false
script:
- ./gradlew assembleRelease
#- ./gradlew lintRelease