sudo: false

language: android

android:
  components:
    - tools
    - build-tools-25.0.0
    - android-25
    - extra-google-google_play_services
    - extra-android-support
    - extra

jdk:
  - oraclejdk8

env:
  matrix:
    - ANDROID_TARGET=android-25  ANDROID_ABI=armeabi-v7a

before_install:
  - echo yes | android update sdk --all --filter build-tools-25.0.0 --no-ui --force

before_script:
  - echo no | android create avd --force -n test -t android-19 --abi armeabi-v7a
  - emulator -avd test -no-skin -no-audio -no-window &
  - android-wait-for-emulator
  - adb shell input keyevent 82 &

script:
  - ./gradlew clean check :demo:connectedAndroidTest
sudo: false

language: android

android:
  components:
    - tools
    - build-tools-25.0.0
    - android-25
    - extra-google-google_play_services
    - extra-android-support
    - extra

jdk:
  - oraclejdk8

env:
  matrix:
    - ANDROID_TARGET=android-25  ANDROID_ABI=armeabi-v7a

before_install:
  - echo yes | android update sdk --all --filter build-tools-25.0.0 --no-ui --force

before_script:
  - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
  - emulator -avd test -no-skin -no-audio -no-window &
  - android-wait-for-emulator
  - adb shell input keyevent 82 &

script:
  - ./gradlew clean check :demo:connectedAndroidTest
Update Travis build script with newer Android emulator
Update Travis build script with newer Android emulator
