machine:
  java:
    version: openjdk8

dependencies:
  pre:
    - echo y | android update sdk --no-ui --all --filter "tools,platform-tools,android-24,extra-android-m2repository,extra-android-support,extra-google-google_play_services,extra-google-m2repository"
    - echo y | android update sdk --no-ui --all --filter "build-tools-24.0.1"

test:
  override:
    - ./gradlew clean check -PdisablePreDex
    - mkdir $CIRCLE_TEST_REPORTS/lint
    - mv library/build/outputs/lint-results-debug.* $CIRCLE_TEST_REPORTS/lint
machine:
  java:
    version: openjdk8

dependencies:
  pre:
    - echo y | android update sdk --no-ui --all --filter "tools,platform-tools,android-24,extra-android-m2repository,extra-android-support,extra-google-google_play_services,extra-google-m2repository"
    - echo y | android update sdk --no-ui --all --filter "build-tools-24.0.1"

test:
  override:
    - ./gradlew clean check -PdisablePreDex -Dorg.gradle.daemon=false
    - mkdir $CIRCLE_TEST_REPORTS/lint
    - mv library/build/outputs/lint-results-debug.* $CIRCLE_TEST_REPORTS/lint
Disable daemon for ci build
Disable daemon for ci build
