sudo: required
language: android
jdk: oraclejdk8

# Install Android SDK
android:
  components:
    - tools
    - android-25
    - build-tools-25.0.2
    - platform-tools
    - build-tools-25.0.2
    - android-25
    - extra-android-m2repository

# Install Golang
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install golang -y

# Cache gradle dependencies
# https://docs.travis-ci.com/user/languages/android/#Caching
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/

script:
  - ./gradlew clean lint
  - ./gradlew buildNative assembleDebug
  - ./gradlew compileDebugAndroidTestSources

sudo: required
language: android
jdk: oraclejdk8

# Install Android SDK
android:
  components:
    - tools
    - android-26
    - build-tools-26.0.1
    - platform-tools
    - build-tools-26.0.1
    - android-26
    - extra-android-m2repository

# Install Golang
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install golang -y

# Cache gradle dependencies
# https://docs.travis-ci.com/user/languages/android/#Caching
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/

script:
  - ./gradlew clean lint
  - ./gradlew buildNative assembleDebug
  - ./gradlew compileDebugAndroidTestSources

Update Travis CI to Android 26 sdk
Update Travis CI to Android 26 sdk
