language: android
jdk: oraclejdk7
env:
  matrix:
    - ANDROID_TARGET=android-15  ANDROID_ABI=armeabi-v7a

android:
  components:
    - build-tools-21.1.1
    - android-21
    - extra-android-m2repository

before_script:
  # Create and start 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 &
  - echo > local.properties

script: ./gradlew connectedAndroidTest
language: android
jdk: oraclejdk8

env:
  matrix:
    - ANDROID_TARGET=android-15  ANDROID_ABI=armeabi-v7a

android:
  components:
    - build-tools-21.1.1
    - android-21
    - extra-android-m2repository

before_script:
  # Create and start 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 &
  - echo > local.properties

script: ./gradlew connectedAndroidTest
Use oraclejdk8 on Travis CI
Use oraclejdk8 on Travis CI
