language: android

env:
  matrix:
    - ANDROID_TARGET=android-23  ANDROID_ABI=x86_64

notifications:
  email:
   - jmols.mobile@gmail.com

android:
  components:
    - build-tools-23.0.2
    - android-23
    - extra-android-m2repository
    - sys-img-x86_64-android-23

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 &

script:
    - echo "Travis branch is $TRAVIS_BRANCH"
    - echo "Travis branch is in pull request $TRAVIS_PULL+REQUEST"
    - ./gradlew connectedAndroidTest coveralls

language: android

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

notifications:
  email:
   - jmols.mobile@gmail.com

android:
  components:
    - build-tools-23.0.2
    - android-23
    - extra-android-m2repository
    - sys-img-armeabi-v7a-android-23

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 &

script:
    - echo "Travis branch is $TRAVIS_BRANCH"
    - echo "Travis branch is in pull request $TRAVIS_PULL+REQUEST"
    - ./gradlew connectedAndroidTest coveralls

Revert back to ARM emulator, as x86 requires HAXM
Revert back to ARM emulator, as x86 requires HAXM
