Skip to content

Commit

Permalink
More poking at Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
isuPatches committed Jul 23, 2017
1 parent c1f6d6a commit 263e5ee
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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)

0 comments on commit 263e5ee

Please sign in to comment.