language: android
jdk: oraclejdk8

android:
  components:
    - tools
    - platform-tools
    - build-tools-27.0.3
    - android-27

script:
- ./gradlew check

language: android
jdk: oraclejdk8

android:
  components:
    - tools
    - platform-tools
    - build-tools-27.0.3
    - android-27

before_install:
  - yes | sdkmanager "platforms;android-27"

script:
- ./gradlew check

Fix Travis-CI license issue for android 27
Fix Travis-CI license issue for android 27

Travis somehow doesn't accept license for android 27 and gives the following error.

You have not accepted the license agreements of the following SDK components:
  [Android SDK Platform 27].

It seems the issue is related some checksum changes, therefore the fix is to enforce agreement.
