forked from yshrsmz/monotweety
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwercker.yml
27 lines (26 loc) · 915 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
build:
box:
id: yshrsmz/android:sdk25
tag: latest
steps:
- script:
name: obtain secrets
code: echo $SECRETS | base64 -d > ./secret.properties
- script:
name: obtain release jks
code: echo $RELEASE_JKS | base64 -d > ./monotweety.jks
- script:
name: obtain google-services.json
code: echo $GOOGLE_SERVICES_JSON | base64 -d > ./app/google-services.json
- script:
name: run gradle assembleDebug
code: |
./gradlew --project-cache-dir=$WERCKER_CACHE_DIR assembleDebug testDebugUnitTest createDebugUnitTestCoverageReport -PdisablePreDex
after-steps:
- script:
name: codecov integration
code: bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN -s "app/build/reports/jacoco/DebugUnitTest"
- slack-notifier:
url: $SLACK_URL
channel: general
username: Wercker build