2015-10-02 03:36:08 +02:00
|
|
|
language: android
|
2016-04-14 22:12:15 +02:00
|
|
|
sudo: false
|
2015-10-02 03:36:08 +02:00
|
|
|
git:
|
|
|
|
submodules: false
|
|
|
|
before_install:
|
|
|
|
- git submodule update --init --recursive
|
2016-04-14 22:12:15 +02:00
|
|
|
before_script:
|
|
|
|
- echo sdk.dir $ANDROID_HOME > local.properties
|
2015-10-02 03:36:08 +02:00
|
|
|
script:
|
|
|
|
- export TERM=dumb
|
2016-04-14 22:12:15 +02:00
|
|
|
- export JAVA_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
|
|
|
|
- ./gradlew build
|
2015-10-02 03:36:08 +02:00
|
|
|
android:
|
|
|
|
components:
|
2016-04-14 22:12:15 +02:00
|
|
|
- platform-tools
|
|
|
|
- tools
|
2016-08-07 18:19:36 +02:00
|
|
|
- build-tools-23.0.3
|
2015-10-02 03:36:08 +02:00
|
|
|
- android-23
|
2016-04-14 22:12:15 +02:00
|
|
|
- extra-android-m2repository
|
|
|
|
before_cache:
|
|
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.gradle/caches/
|
|
|
|
- $HOME/.gradle/wrapper/
|