From 0ae11ab9bf6febec4d95c315f4e89f013e80328c Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sun, 25 Sep 2016 02:54:25 +0200 Subject: [PATCH] Fix Travis CI build --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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: