language: android
jdk: oraclejdk8

android:
  components:
    - tools
    - tools
    - platform-tools
    - build-tools-25.0.3
    - android-25
    - extra
    - extra-android-support
    - extra-android-m2repository
    - extra-google-m2repository

script:
        - ./gradlew build
before_install:
        - chmod +x gradlew
branches:
        only:
                - master

language: android
jdk: oraclejdk8

android:
  components:
    - tools
    - tools
    - platform-tools
    - build-tools-25.0.3
    - android-25
    - extra
    - extra-android-support
    - extra-android-m2repository
    - extra-google-m2repository

script:
        - ./gradlew build dependencies || true
before_install:
        - chmod +x gradlew
branches:
        only:
                - master

Fix Travis CI build script
Fix Travis CI build script