language: android
jdk: oraclejdk8

android:
  components:
    # use the latest revision of Android SDK Tools (tools is required twice)
    - tools
    - platform-tools
    - tools

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

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



install:
    # Necessary to skip travis default behavior
    - true

script:
    - ./gradlew check -PdisablePreDex

notifications:
    email: false

before_cache:
  - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
  - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/
    - $HOME/.android/build-cache


language: android
jdk: oraclejdk8

android:
  components:
    # use the latest revision of Android SDK Tools (tools is required twice)
    - tools
    - platform-tools
    - tools

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

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



install:
    # Necessary to skip travis default behavior
    - true

script:
    - ./gradlew check -PdisablePreDex

notifications:
    email: false

before_cache:
  - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
  - rm -fr $HOME/.gradle/caches/*/plugin-resolution/

cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/
    - $HOME/.android/build-cache

licenses:
    - 'android-sdk-preview-license-.+'
    - 'android-sdk-license-.+'
    - 'google-gdk-license-.+'

Add license accept block to Travis config
Add license accept block to Travis config
