Update Travis CI support

This commit is contained in:
Marvin W 2016-04-14 22:12:15 +02:00
parent 2762887513
commit f8210c6edc

View File

@ -1,17 +1,25 @@
language: android language: android
sudo: false
git: git:
submodules: false submodules: false
before_install: before_install:
- git submodule update --init --recursive - git submodule update --init --recursive
script: before_script:
- export JAVA_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
- export TERM=dumb
- echo sdk.dir $ANDROID_HOME > local.properties - echo sdk.dir $ANDROID_HOME > local.properties
- ./gradlew assembleDebug -x lint script:
- export TERM=dumb
- export JAVA_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
- ./gradlew build
android: android:
components: components:
- extra-android-m2repository - platform-tools
- build-tools-23.0.1 - tools
- build-tools-23.0.2
- android-23 - android-23
- extra-android-m2repository
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/