Fix Travis CI build

This commit is contained in:
Marvin W 2016-09-25 02:54:25 +02:00
parent 63fd64f540
commit 0ae11ab9bf
No known key found for this signature in database
GPG Key ID: 072E9235DB996F2A
1 changed files with 4 additions and 3 deletions

View File

@ -4,17 +4,18 @@ git:
submodules: false
before_install:
- git submodule update --init --recursive
before_script:
- echo sdk.dir $ANDROID_HOME > local.properties
script:
- jdk_switcher use oraclejdk8
- echo sdk.dir $ANDROID_HOME > local.properties
- export TERM=dumb
- export JAVA_OPTS="-XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
- ./gradlew build
- ./gradlew assemble
android:
components:
- platform-tools
- tools
- build-tools-24.0.2
- android-23
- android-24
- extra-android-m2repository
before_cache: