language: android

android:
  components:

    # All the build system components should be at the latest version
    - tools
    - platform-tools
    - build-tools-21.1.2
    - android-22

    # The libraries we can't get from Maven Central or similar
    - extra-android-support
    - extra-android-m2repository

script:
  - ./gradlew clean test  # run tests

language: android

android:
  components:

    # All the build system components should be at the latest version
    - tools
    - platform-tools
    - build-tools-22.0.1
    - android-22

    # The libraries we can't get from Maven Central or similar
    - extra-android-support
    - extra-android-m2repository

script:
  - ./gradlew clean test  # run tests

Fix build process on Travis CI.
Fix build process on Travis CI.

+ Build tools have been changed in commit 78e6148e5c8e96e1bae14958ff8ebb289f771c06.
