From 0007f46d010cb975c7ab6b5830d7a36a403795db Mon Sep 17 00:00:00 2001 From: isuPatches Date: Sun, 23 Jul 2017 13:28:55 -0500 Subject: [PATCH] Not giving up hope --- .travis.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 93e8df0c..28510c81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,20 +4,25 @@ jdk: oraclejdk8 sudo: required dist: precise +cache: + directories: + - $HOME/.gradle/caches/ + - $HOME/.gradle/wrapper/ + - $HOME/.android/build-cache + android: components: - platform-tools - tools - build-tools-26.0.0 - android-26 -# - sys-img-armeabi-v7a-android-22 - extra-android-m2repository - extra-android-support - extra-google-m2repository env: matrix: - - API=android-16 ABI=armeabi-v7a + - API=android-16 ABI=x86_x64 # - API=android-17 ABI=armeabi-v7a # - API=android-18 ABI=armeabi-v7a # - API=android-19 ABI=armeabi-v7a @@ -26,10 +31,10 @@ env: # - API=android-22 ABI=armeabi-v7a # - API=android-24 ABI=armeabi-v7a # - API=android-25 ABI=armeabi-v7a - - API=android-26 ABI=armeabi-v7a +# - API=android-26 ABI=armeabi-v7a before_script: - - android-update-sdk --components=sys-img-$ABI-$API --accept-licenses='android-sdk-license-[0-9a-f]{8}' + - android-update-sdk --components=sys-img-$ABI-google_apis-$API --accept-licenses='android-sdk-license-[0-9a-f]{8}' - echo no | android create avd --force -n test -t $API --abi $ABI - emulator -avd test -no-audio -no-window - ./gradlew clean assembleDebug assembleDebugAndroidTest