language: android

android:
  components:
    # Uncomment the lines below if you want to
    # use the latest revision of Android SDK Tools
    # - platform-tools
    # - tools

    # The BuildTools version used by your project
    - build-tools-16.0.0

    # The SDK version used to compile your project
    - android-16

    # Additional components
    - extra-google-google_play_services
    - extra-google-m2repository
    - extra-android-m2repository
    - addon-google_apis-google-16

    # Specify at least one system image,
    # if you need to run emulator(s) during your tests
    - sys-img-armeabi-v7a-android-19
    - sys-img-x86-android-17
    # TODO: Configure travis to run in more than one emulator

before_install:
  - . .travis/install-ndk
  - . .travis/install-buck
  - PATH=`pwd`/buck/bin:$PATH
  - export PATH
  # Emulator Management: Create, Start and Wait
  - echo no | android create avd --force -n test -t android-19 --abi armeabi-v7a
  - emulator -avd test -no-audio -no-window &
  - android-wait-for-emulator
  - adb shell input keyevent 82 &

script:
  - instrumentTest/crypto/run
  # Check benchmarks build (even if not run)
  - buck build benchmarks
  - buck build benchmarks/app


language: android

android:
  components:
    # Uncomment the lines below if you want to
    # use the latest revision of Android SDK Tools
    # - platform-tools
    # - tools

    # The BuildTools version used by your project
    - build-tools-16.0.0

    # The SDK version used to compile your project
    - android-16

    # Additional components
    - extra-google-google_play_services
    - extra-google-m2repository
    - extra-android-m2repository
    - addon-google_apis-google-16

    # Specify at least one system image,
    # if you need to run emulator(s) during your tests
    - sys-img-armeabi-v7a-android-19
    - sys-img-x86-android-17
    # TODO: Configure travis to run in more than one emulator

jdk:
    - oraclejdk8

before_install:
  - . .travis/install-ndk
  - . .travis/install-buck
  - PATH=`pwd`/buck/bin:$PATH
  - export PATH
  # Emulator Management: Create, Start and Wait
  - echo no | android create avd --force -n test -t android-19 --abi armeabi-v7a
  - emulator -avd test -no-audio -no-window &
  - android-wait-for-emulator
  - adb shell input keyevent 82 &

script:
  - instrumentTest/crypto/run
  # Check benchmarks build (even if not run)
  - buck build benchmarks
  - buck build benchmarks/app


Make Travis use JDK 8
Make Travis use JDK 8
