language: android
# Use the Travis Container-Based Infrastructure
sudo: false
jdk:
  - oraclejdk7
env:
  global:
    # increase adb timeout (2 minutes by default)
    - ADB_INSTALL_TIMEOUT=8
  matrix:
    - ANDROID_SDKS=android-23,sysimg-23  ANDROID_TARGET=android-19  ANDROID_ABI=armeabi-v7a
android:
  components:
    - build-tools-23.0.2
    - android-23
    - extra-android-m2repository
before_install:
  - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
  - emulator -avd test -no-skin -no-audio -no-window &
before_script:
  - chmod +x gradlew
  - chmod +x ./ci/wait_for_emulator
  - ./ci/wait_for_emulator
  - adb shell input keyevent 82 &
script:
    - TERM=dumb ./gradlew connectedCheck

language: android
# Use the Travis Container-Based Infrastructure
sudo: false
jdk:
  - oraclejdk7
env:
  global:
    # increase adb timeout (2 minutes by default)
    - ADB_INSTALL_TIMEOUT=8
  matrix:
    - ANDROID_SDKS=android-23,sysimg-23  ANDROID_TARGET=android-19  ANDROID_ABI=armeabi-v7a
android:
  components:
    - tools
    - build-tools-23.0.2
    - android-23
    - extra-android-m2repository
before_install:
  - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
  - emulator -avd test -no-skin -no-audio -no-window &
before_script:
  - chmod +x gradlew
  - chmod +x ./ci/wait_for_emulator
  - ./ci/wait_for_emulator
  - adb shell input keyevent 82 &
script:
    - TERM=dumb ./gradlew connectedCheck

Use latest version of Android tools.
Use latest version of Android tools.

- https://docs.travis-ci.com/user/languages/android/#Overview
