2015-08-27 23:46:36 +02:00
|
|
|
language: android
|
2015-10-04 00:15:24 +02:00
|
|
|
sudo: false
|
2015-08-27 23:46:36 +02:00
|
|
|
git:
|
|
|
|
submodules: false
|
|
|
|
before_install:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
script:
|
2016-09-25 02:54:25 +02:00
|
|
|
- jdk_switcher use oraclejdk8
|
|
|
|
- echo sdk.dir $ANDROID_HOME > local.properties
|
2015-08-27 23:46:36 +02:00
|
|
|
- export TERM=dumb
|
2016-09-25 02:49:40 +02:00
|
|
|
- export JAVA_OPTS="-XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
|
2016-09-25 02:54:25 +02:00
|
|
|
- ./gradlew assemble
|
2015-08-27 23:46:36 +02:00
|
|
|
android:
|
|
|
|
components:
|
2015-11-17 21:57:01 +01:00
|
|
|
- tools
|
2016-11-16 00:52:49 +01:00
|
|
|
- platform-tools
|
|
|
|
- build-tools-24.0.3
|
2016-09-25 02:49:40 +02:00
|
|
|
- android-24
|
2015-11-17 21:57:01 +01:00
|
|
|
- extra-android-m2repository
|
2016-02-08 03:38:07 +01:00
|
|
|
before_cache:
|
|
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.gradle/caches/
|
|
|
|
- $HOME/.gradle/wrapper/
|