dependencies:
  pre:
    - echo y | android update sdk --no-ui --all --filter "tools"
    - echo y | android update sdk --no-ui --all --filter "build-tools-23.0.3"
    - echo y | android update sdk --no-ui --all --filter "extra-android-m2repository"
test:
  override:
    - ./gradlew assembleRelease
    - cp -r build/outputs $CIRCLE_ARTIFACTS
deployment:
  production:
    branch: master
    commands:
      - ./gradlew publishApkRelease
        -Dorg.gradle.project.track=production
  beta:
    branch: develop
    commands:
      - ./gradlew publishApkRelease
        -Dorg.gradle.project.track=beta

dependencies:
  pre:
    - echo y | android update sdk --no-ui --all --filter "tools"
    - echo y | android update sdk --no-ui --all --filter "build-tools-23.0.3"
    - echo y | android update sdk --no-ui --all --filter "extra-android-m2repository"
test:
  override:
    - ./gradlew assembleRelease
    - cp -r build/outputs $CIRCLE_ARTIFACTS
deployment:
  production:
    branch: master
    commands:
      - ./gradlew publishApkRelease -Dorg.gradle.project.track=production
  beta:
    branch: develop
    commands:
      - ./gradlew publishApkRelease -Dorg.gradle.project.track=beta

Modify whitespace in CI config
Modify whitespace in CI config
