box: jacekmarchwicki/android
build:
  steps:
    - script:
        name: show base information
        code: |
          echo $ANDROID_HOME
          echo $ANDROID_BUILD_TOOLS
          echo $ANDROID_UPDATE_FILTER
    - android-sdk-update:
        filter: sys-img-armeabi-v7a-addon-google_apis-google-22
        #filter: sys-img-armeabi-v7a-android-22
    - setup-android-emulator:
        target: android-22
    - script:
        name: run ./gradlew clean build connectedCheck
        code: |
          ./gradlew --project-cache-dir=$WERCKER_CACHE_DIR clean build connectedCheck
  after-steps:
    - script:
        name: inspect build result
        code: |
          ls -al app/build/apk/
          cp app/build/apk/*.apk $WERCKER_REPORT_ARTIFACTS_DIR


box: jacekmarchwicki/android
build:
  steps:
    - script:
        name: show base information
        code: |
          echo $ANDROID_HOME
          echo $ANDROID_BUILD_TOOLS
          echo $ANDROID_UPDATE_FILTER
    - android-sdk-update:
        #filter: sys-img-armeabi-v7a-addon-google_apis-google-22
        filter: sys-img-armeabi-v7a-android-22
    - setup-android-emulator:
        target: android-22
    - script:
        name: run ./gradlew clean build connectedCheck
        code: |
          ./gradlew --project-cache-dir=$WERCKER_CACHE_DIR clean build connectedCheck
  after-steps:
    - script:
        name: inspect build result
        on: success
        code: |
          ls -al app/build/apk/
          cp app/build/apk/*.apk $WERCKER_REPORT_ARTIFACTS_DIR


Switch system image for Wercker build
Switch system image for Wercker build
