From 263e5eebe0d06fb7fcb25628866c7b83f7e9fab1 Mon Sep 17 00:00:00 2001 From: isuPatches Date: Sun, 23 Jul 2017 10:44:44 -0500 Subject: [PATCH] More poking at Travis --- .travis.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 408bfb3e..994c9444 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,16 @@ language: android jdk: oraclejdk8 -sudo: required +sudo: false cache: directories: - ${TRAVIS_BUILD_DIR}/gradle/caches/ - ${TRAVIS_BUILD_DIR}/gradle/wrapper/dists/ + - $HOME/.gradle/caches/3.5 + - $HOME/.gradle/caches/jars-1 + - $HOME/.gradle/daemon + - $HOME/.gradle/native + - $HOME/.gradle/wrapper env: matrix: @@ -30,13 +35,15 @@ android: - extra-google-m2repository before_script: - - echo no | android create avd --force -n test -t android-$EMULATOR_SDK_LEVEL --abi $ABI - - emulator -avd test -no-audio -no-window & + - echo no | android create avd --force --name test --target $EMULATOR_SDK_LEVEL --abi $ABI + - emulator -avd test -no-audio -no-window & + - ./gradlew check -PdisablePreDex --continue --stacktrace - android-wait-for-emulator - - adb shell input keyevent 82 & + - adb devices + - adb shell input keyevent 82 & script: - - travis_wait 60 ./gradlew clean jacocoDebugTestReport --stacktrace + - travis_wait 60 ./gradlew clean jacocoDebugTestReport -PdisablePreDex --stacktrace after_success: - bash <(curl -s https://codecov.io/bash) \ No newline at end of file