language: android
android:
  components:
    - sys-img-armeabi-v7a-android-21
before_script:
  - android list targets
  - echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
  - emulator -avd test -no-skin -no-audio -no-window &
  - android-wait-for-emulator
  - adb shell input keyevent 82 &
install:
  #install adb library
  - sudo pip install -e .
script:
  - adb shell ls /data/media/0
  - python test/adb_test.py
notifications:
    email: false

language: android
android:
  components:
    - sys-img-armeabi-v7a-android-21
before_script:
  - android list targets
  - echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
  - emulator -avd test -no-skin -no-audio -no-window &
  - android-wait-for-emulator
  - adb shell input keyevent 82 &
install:
  #install adb library
  - sudo pip install adb_android
script:
  - adb shell ls /data/media/0
  - python tests/test_adb_android.py
notifications:
    email: false

Fix unittest path and pip install adb_android for Travis build
Fix unittest path and pip install adb_android for Travis build
