mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-11-19 10:39:24 +01:00
Update Travis CI support
This commit is contained in:
parent
2762887513
commit
f8210c6edc
24
.travis.yml
24
.travis.yml
@ -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/
|
||||||
|
Loading…
Reference in New Issue
Block a user