mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-11-01 00:42:39 +00:00
Update Travis CI support
This commit is contained in:
parent
2762887513
commit
f8210c6edc
1 changed files with 16 additions and 8 deletions
24
.travis.yml
24
.travis.yml
|
@ -1,17 +1,25 @@
|
|||
language: android
|
||||
sudo: false
|
||||
git:
|
||||
submodules: false
|
||||
before_install:
|
||||
- git submodule update --init --recursive
|
||||
script:
|
||||
- export JAVA_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
|
||||
- export TERM=dumb
|
||||
before_script:
|
||||
- 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:
|
||||
components:
|
||||
- extra-android-m2repository
|
||||
- build-tools-23.0.1
|
||||
- platform-tools
|
||||
- tools
|
||||
- build-tools-23.0.2
|
||||
- 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/
|
||||
|
|
Loading…
Reference in a new issue