-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy path.travis.yml
More file actions
25 lines (25 loc) · 611 Bytes
/
.travis.yml
File metadata and controls
25 lines (25 loc) · 611 Bytes
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
language: android
sudo: false
git:
submodules: false
before_install:
- git submodule update --init --recursive
script:
- jdk_switcher use oraclejdk8
- echo sdk.dir $ANDROID_HOME > local.properties
- export TERM=dumb
- export JAVA_OPTS="-XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
- ./gradlew build
android:
components:
- tools
- platform-tools
- build-tools-25.0.2
- android-25
- extra-android-m2repository
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/