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
  - pip install -e .
script:
  - python -m unittest discover
notifications:
    email: false
sudo: false #adaptation to travis's container infrastructure

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
  - pip install -e . --user
script:
  - python -m unittest discover
notifications:
    email: false
sudo: false #adaptation to travis's container infrastructure

Use --user attribute for installing with pip
Use --user attribute for installing with pip

Change-Id: I34bc2a5ff925714117e461d13784012755b82d07
