language: android
jdk: oraclejdk8

android:
  components:
    - platform-tools
    - tools
    - android-22
    - build-tools-23.0.3
    - extra-android-m2repository
    - extra-android-support
    - sys-img-armeabi-v7a-android-22

before_install:
- mkdir "$ANDROID_HOME/licenses" || true
- echo "d56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license"
- chmod +x gradlew

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

notifications:
  email: true

cache:
  directories:
    - $HOME/.m2
    - $HOME/.gradle
language: android
jdk: oraclejdk8

android:
  components:
    - platform-tools
    - tools
    - android-22
    - build-tools-23.0.3
    - extra-android-m2repository
    - extra-android-support
    - sys-img-armeabi-v7a-android-22

before_install:
- mkdir "$ANDROID_HOME/licenses" || true
- echo "d56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license"
- chmod +x gradlew

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

notifications:
  email: true

sudo: false

cache:
  directories:
    - $HOME/.m2
    - $HOME/.gradle
Use sudo=false in Travis config
Use sudo=false in Travis config
