-
Notifications
You must be signed in to change notification settings - Fork 28
/
.travis.yml
53 lines (40 loc) · 1.12 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
51
52
53
language: android
dist: trusty
jdk: openjdk8
env:
global:
- SLAVE_AAPT_TIMEOUT=31
- 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-32.0.0
- android-32
- extra-google-m2repository
- extra-android-m2repository
# https://docs.travis-ci.com/user/languages/android/
licenses:
- 'android-sdk-preview-license-.+'
- '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
- yes | sdkmanager "platforms;android-32"
install: true
script:
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
- chmod +x $TRAVIS_BUILD_DIR/install-jdk.sh
- export JAVA_HOME=$HOME/openjdk11
- $TRAVIS_BUILD_DIR/install-jdk.sh -F 11 --target $JAVA_HOME
- ./gradlew -v
- ./gradlew clean build --stacktrace
after_failure: true
notifications:
email: false