language: android
jdk: oraclejdk7

android:
  components:
    - platform-tools
    - tools
    - build-tools-24.0.0
    - android-24
    - extra-google-google_play_services
    - extra-google-m2repository
    - extra-android-m2repository

cache:
  directories:
    - $HOME/.m2
    - $HOME/.gradle

script:
  - ./gradlew testMockDebugUnitTestCoverage

after_success:
  - bash <(curl -s https://codecov.io/bash)

language: android
jdk: oraclejdk8

android:
  components:
    - platform-tools
    - tools
    - build-tools-24.0.0
    - android-24
    - extra-google-google_play_services
    - extra-google-m2repository
    - extra-android-m2repository

cache:
  directories:
    - $HOME/.m2
    - $HOME/.gradle

script:
  - ./gradlew testMockDebugUnitTestCoverage

after_success:
  - bash <(curl -s https://codecov.io/bash)

Update Travis YML to use JDK8
Update Travis YML to use JDK8
