-
Notifications
You must be signed in to change notification settings - Fork 125
/
Copy pathwercker.yml
31 lines (31 loc) · 893 Bytes
/
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
31
box:
id: kakajika/wercker-container-android
username: $USERNAME
password: $PASSWORD
tag: latest
# Build definition
build:
steps:
- script:
name: show base information
code: |
./gradlew -v
echo $ANDROID_HOME
echo $ANDROID_BUILD_TOOLS
echo $ANDROID_UPDATE_FILTER
# A step that executes `gradle build` command
- script:
name: build app
code: |
./gradlew --full-stacktrace -q --project-cache-dir=$WERCKER_CACHE_DIR build
after-steps:
- install-packages:
packages: ruby
- wantedly/pretty-slack-notify:
webhook_url: $SLACK_WEBHOOK_URL
deploy:
steps:
- script:
name: upload to deploygate
code: |
curl -F file=@example/build/outputs/apk/debug/example-debug.apk -F token="$DEPLOYGATE_API_KEY" https://deploygate.com/api/users/$USERNAME/apps