language: android

android:
  components:
    - build-tools-21.1.2
    - android-21
    - extra-android-support
    - sys-img-armeabi-v7a-android-19

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 &
  - adb wait-for-device
  - adb shell input keyevent 82

script:
  ./gradlew checkstyle build connectedCheck

language: android

android:
  components:
    - build-tools-21.1.2
    - android-21
    - extra-android-support
    - sys-img-armeabi-v7a-android-19

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 checkstyle build connectedCheck

Use android-wait-for-emulator instead of adb wait-for-device in Travis-CI configuration
Use android-wait-for-emulator instead of adb wait-for-device in Travis-CI configuration
