forked from ksoichiro/Android-ObservableScrollView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
30 lines (30 loc) · 1.01 KB
/
wercker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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