Skip to content

Commit

Permalink
Yet another travis test
Browse files Browse the repository at this point in the history
  • Loading branch information
isuPatches committed Oct 29, 2016
1 parent 221bdbe commit 6c7a1a5
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
language: android
sudo: required
sudo: false
jdk: oraclejdk8

cache:
directories:
- $HOME/.gradle/caches/2.8
- $HOME/.gradle/caches/jars-1
- $HOME/.gradle/daemon
- $HOME/.gradle/native
- $HOME/.gradle/wrapper

env:
global:
- ADB_INSTALL_TIMEOUT=20 # minutes (2 minutes by default)
- ANDROID_API_LEVEL=24
- ANDROID_BUILD_TOOLS_VERSION=24.0.3
# - ANDROID_ABI=armeabi-v7a
# - ANDROID_TAG=google_apis
- ADB_INSTALL_TIMEOUT=20 # minutes (2 minutes by default)
matrix:
- ANDROID_TARGET=android-24 ANDROID_ABI=armeabi-v7a

Expand All @@ -28,9 +34,10 @@ android:
before_install:
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 20M
- emulator -avd test -no-window &
- android update project -p .
- chmod +x ./wait_for_emulator.sh
- ./wait_for_emulator.sh
- adb devices
- adb shell input keyevent 82 &

script:
- travis_wait 20 ./gradlew build connectedCheck
- ./gradlew build connectedCheck

0 comments on commit 6c7a1a5

Please sign in to comment.