VancedMicroG/.travis.yml

26 lines
616 B
YAML

language: android
sudo: false
git:
submodules: false
before_install:
- git submodule update --init --recursive
before_script:
- echo sdk.dir $ANDROID_HOME > local.properties
script:
- export TERM=dumb
- export JAVA_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
- ./gradlew build
android:
components:
- platform-tools
- tools
- build-tools-23.0.3
- 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/