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