0
0
Fork 0
mirror of https://github.com/YTVanced/VancedMicroG synced 2024-11-18 01:05:11 +00:00
VancedMicroG/.travis.yml

25 lines
614 B
YAML

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