box: izumin5210/android:build-tools-23.0.1_target-api-23

build:
  steps:
    - script:
        name: show base information
        code: |
          gradle -v
          echo $ANDROID_HOME
          echo $ANDROID_BUILD_TOOLS
          echo $ANDROID_UPDATE_FILTER
    - script:
        name: run gradle test
        code: |
          gradle --full-stacktrace -info --project-cache-dir=$WERCKER_CACHE_DIR :konashi-android-sdk:test
    - script:
        name: start android emulator
        code: |
          start-emulator
    - script:
        name: run gradle connectedAndroidTest
        code: |
          gradle --full-stacktrace -q --project-cache-dir=$WERCKER_CACHE_DIR :konashi-android-sdk:connectedAndroidTest
  after-steps:
    - script:
        name: inspect build result
        code: |
          pwd
          ls -la ./konashi-android-sdk/build
          ls -la ./konashi-android-sdk/build/outputs/
          cp -r ./konashi-android-sdk/build/outputs/* ${WERCKER_REPORT_ARTIFACTS_DIR}
          REPORT_INDEX=./konashi-android-sdk/build/reports/androidTests/connected/index.html
          python .wercker/report.py $REPORT_INDEX
deploy:
  steps:
    - script:
        name: show base information
        code: |
          gradle -v
    - script:
        name: build with gradle
        code: |
          gradle build
    - script:
        name: upload to bintray
        code: |
          gradle bintrayUpload
box: e10dokup/android:build-tools-23.0.1_target-api-23

build:
  steps:
    - script:
        name: show base information
        code: |
          gradle -v
          echo $ANDROID_HOME
          echo $ANDROID_BUILD_TOOLS
          echo $ANDROID_UPDATE_FILTER
    - script:
        name: run gradle test
        code: |
          gradle --full-stacktrace -info --project-cache-dir=$WERCKER_CACHE_DIR :konashi-android-sdk:test
    - script:
        name: start android emulator
        code: |
          start-emulator
    - script:
        name: run gradle connectedAndroidTest
        code: |
          gradle --full-stacktrace -q --project-cache-dir=$WERCKER_CACHE_DIR :konashi-android-sdk:connectedAndroidTest
  after-steps:
    - script:
        name: inspect build result
        code: |
          pwd
          ls -la ./konashi-android-sdk/build
          ls -la ./konashi-android-sdk/build/outputs/
          cp -r ./konashi-android-sdk/build/outputs/* ${WERCKER_REPORT_ARTIFACTS_DIR}
          REPORT_INDEX=./konashi-android-sdk/build/reports/androidTests/connected/index.html
          python .wercker/report.py $REPORT_INDEX
deploy:
  steps:
    - script:
        name: show base information
        code: |
          gradle -v
    - script:
        name: build with gradle
        code: |
          gradle build
    - script:
        name: upload to bintray
        code: |
          gradle bintrayUpload
Change custom box for temporary
Change custom box for temporary
