language: android
jdk: oraclejdk8
env:
  matrix:
    - ANDROID_TARGET=android-19  ANDROID_ABI=armeabi-v7a

android:
  components:
    - android-22
    - android-19
    - sys-img-armeabi-v7a-android-19
    - build-tools-22.0.1
    - extra-android-m2repository
    - extra-android-support

before_script:
  # Create, start and wait for emulator
  - 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:
  - sh ci/ci.sh

notifications:
  email: false
# Disabling sudo moves build to the Container Based Infrastructure on Travis CI
sudo: false

language: android
jdk: oraclejdk8
env:
  matrix:
    - ANDROID_TARGET=android-19  ANDROID_ABI=armeabi-v7a

android:
  components:
    - android-22
    - android-19
    - sys-img-armeabi-v7a-android-19
    - build-tools-22.0.1
    - extra-android-m2repository
    - extra-android-support

before_script:
  # Create, start and wait for emulator
  - 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:
  - sh ci/ci.sh

notifications:
  email: false

Use container-based infrastructure for CI
Use container-based infrastructure for CI