加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
wercker.yml 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
Soichiro Kashima 提交于 2015-12-06 17:35 . Fix wercker.yml.
box: wercker/android
# Build definition
build:
# The steps that will be executed on build
steps:
- script:
name: show base information
code: |
./gradlew -v
echo $ANDROID_HOME
echo $ANDROID_SDK_VERSION
echo $ANDROID_BUILD_TOOLS
echo $ANDROID_UPDATE_FILTER
echo $ANDROID_NDK_HOME
- android-sdk-update:
filter: tools,platform-tools
- android-sdk-update:
filter: android-21,android-22,android-23,build-tools-23.0.2,extra-android-support,extra-android-m2repository
# A step that executes `gradle build` command
- script:
name: run gradle
code: |
./gradlew --full-stacktrace -q --project-cache-dir=$WERCKER_CACHE_DIR assembleDebug
after-steps:
- script:
name: inspect build result
code: |
ls -la ./samples/build/outputs/apk
cp ./samples/build/outputs/apk/*.apk $WERCKER_REPORT_ARTIFACTS_DIR
rm -f $WERCKER_REPORT_ARTIFACTS_DIR/*-unaligned.apk
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化