diff --git a/.travis.yml b/.travis.yml index 53a77630..b892c349 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: