language: android
sudo: required #override memory size
jdk:
  - oraclejdk8
android:
    components:
    - tools # to get the new `repository-11.xml`
    - tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943)
    - platform-tools
    - add-on
    - build-tools-25.0.1
    - android-25
    - extra-android-m2repository
    - extra-google-m2repository
    - extra-google-google_play_services
    # System images
    - sys-img-armeabi-v7a-android-24

before_script:
  - chmod +x ./gradlew
  - chmod +x ./scripts/unit-test-step.sh
  - chmod +x ./scripts/run-avd.sh
  - chmod +x ./scripts/instrumented-test-step.sh

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/

# Scripting

script:
  - ./scripts/unit-test-step.sh
  - ./scripts/instrumented-test-step.sh

after_failure: "cat $TRAVIS_BUILD_DIR/app/build/outputs/lint-results-debug.xml"

after_success:
  - bash <(curl -s https://codecov.io/bash)

language: android
sudo: required #override memory size
jdk:
  - oraclejdk8
android:
    components:
    - tools # to get the new `repository-11.xml`
    - tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943)
    - platform-tools
    - add-on
    - build-tools-25.0.1
    - android-25
    - android-24
    - extra-android-m2repository
    - extra-google-m2repository
    - extra-google-google_play_services
    # System images
    - sys-img-armeabi-v7a-android-24

before_script:
  - chmod +x ./gradlew
  - chmod +x ./scripts/unit-test-step.sh
  - chmod +x ./scripts/run-avd.sh
  - chmod +x ./scripts/instrumented-test-step.sh

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/

# Scripting

script:
  - ./scripts/unit-test-step.sh
  - ./scripts/instrumented-test-step.sh

after_failure: "cat $TRAVIS_BUILD_DIR/app/build/outputs/lint-results-debug.xml"

after_success:
  - bash <(curl -s https://codecov.io/bash)

Add android 24 to build
Add android 24 to build
