VancedMicroG/.travis.yml
2017-05-01 12:51:50 +02:00

24 lines
583 B
YAML

language: android
git:
submodules: false
before_install:
- git submodule update --init --recursive
script:
- export JAVA_OPTS="-XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
- export TERM=dumb
- echo sdk.dir $ANDROID_HOME > local.properties
- jdk_switcher use oraclejdk8
- ./gradlew assemble
android:
components:
- 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/