diff --git a/.travis.yml b/.travis.yml index 186a9522..9aadc534 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,9 @@ -language: android -jdk: oraclejdk8 - sudo: required dist: precise +language: android +jdk: oraclejdk8 + cache: directories: - $HOME/.gradle/caches/ @@ -37,11 +37,11 @@ before_script: - 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 - android-wait-for-emulator - adb shell input keyevent 82 & script: + - ./gradlew clean assembleDebug assembleDebugAndroidTest - travis_wait 60 ./gradlew clean connectedDebugAndroidTest --stacktrace - ./gradlew jacocoDebugReport