language: android

before_install:
    - echo yes | android update sdk --filter extra-android-support --no-ui --force > /dev/null
    - echo yes | android update sdk --filter extra-android-m2repository --no-ui --force > /dev/null

android:
  components:
    - tools
    - build-tools-27.0.0
    - android-27
    - extra-android-m2repository

  licenses:
    - android-sdk-license-.+

script:
  ./gradlew checkstyle build

language: android

android:
  components:
    - tools
    - build-tools-27.0.0
    - build-tools-26.0.2
    - android-27
    - android-19
    - extra-android-m2repository

script:
  ./gradlew checkstyle build

Remove manual license accepting from Travis
Remove manual license accepting from Travis
