language: android

jdk: oraclejdk7

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

android:
  components:
    - build-tools-23.0.1

before_install:
  - chmod +x gradlew
 
before_script:
  # Create and start emulator
  - android list targets
  - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
  - emulator -avd test -no-skin -no-audio -no-window &
  - adb wait-for-device
  - adb shell input keyevent 82 &

script: ./gradlew connectedAndroidTest
language: android

jdk: oraclejdk7

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

android:
  components:
   - build-tools-23.0.1
   - $ANDROID_TARGET

before_install:
   - chmod +x gradlew
 
before_script:
   # Create and start emulator
   - android list targets
   - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
   - emulator -avd test -no-skin -no-audio -no-window &
   - adb wait-for-device
   - adb shell input keyevent 82 &

script: ./gradlew connectedAndroidTest
Add android-23 as a component
Add android-23 as a component
