box: izumin5210/android
build:
  steps:
    - script:
        name: show base information
        code: |
          gradle -v
          echo $ANDROID_HOME
          echo $ANDROID_BUILD_TOOLS
          echo $ANDROID_UPDATE_FILTER
    - script:
        name: start android emulator
        code: |
          emulator -avd android-23 -no-skin -no-audio -no-window -port 5678
          wait-for-simulator
    - script:
        name: run gradle connectedAndroidTest
        code: |
          gradle --full-stacktrace -q --project-cache-dir=$WERCKER_CACHE_DIR connectedAndroidTest
  after-steps:
    - script:
        name: inspect build result
        code: |
          pwd
          ls -la ./Bletia/build/outputs/
          cp -r ./Bletia/build/outputs/* ${WERCKER_REPORT_ARTIFACTS_DIR}

box: izumin5210/android
build:
  steps:
    - script:
        name: show base information
        code: |
          gradle -v
          echo $ANDROID_HOME
          echo $ANDROID_BUILD_TOOLS
          echo $ANDROID_UPDATE_FILTER
    - script:
        name: start android emulator
        code: |
          start-emulator
    - script:
        name: run gradle connectedAndroidTest
        code: |
          gradle --full-stacktrace -q --project-cache-dir=$WERCKER_CACHE_DIR connectedAndroidTest
  after-steps:
    - script:
        name: inspect build result
        code: |
          pwd
          ls -la ./Bletia/build/outputs/
          cp -r ./Bletia/build/outputs/* ${WERCKER_REPORT_ARTIFACTS_DIR}

Fix script for start emulator
Fix script for start emulator
