-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (38 loc) · 1.08 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
45
46
47
48
49
50
language: android
jdk: oraclejdk8
git:
depth: 10000
env:
global:
- SLAVE_AAPT_TIMEOUT=30
- TERM=dumb
- GRADLE_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m -Dfile.encoding=UTF-8"
matrix:
fast_finish: true
android:
components:
- platform-tools
- tools
- build-tools-30.0.3
- android-30
- extra-google-m2repository
- extra-android-m2repository
# https://docs.travis-ci.com/user/languages/android/
licenses:
- 'android-sdk-preview-license-52d11cd2'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
before_install:
- git submodule update --init --recursive
- chmod u+x gradlew
- android list sdk --no-ui --all --extended
- android list targets
- wget -r -nH -nd -np -R index.html* robots.txt* http://download.kiwix.org/dev/android/api/licenses/ -e robots=off -P $ANDROID_HOME/licenses || true
- yes | sdkmanager "platforms;android-29"
install: true
script:
- ./gradlew -v
- ./gradlew clean build --stacktrace
after_failure: true
notifications:
email: false