-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwercker.yml
26 lines (25 loc) · 1.2 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
box: yedhukrishnan/wercker-android
build:
steps:
- install-packages:
packages: openssl
- script:
name: decrypt key
code: openssl enc -in app/androidsample.enc -out app/androidsample.jks -d -aes256 -k $DECRYPTION_KEY
- script:
name: copy configuration
code: cp app/src/main/java/com/multunus/cdapp/Configuration.java.example app/src/main/java/com/multunus/cdapp/Configuration.java
#- script:
#name: update android sdk
#code: |
#export ANDROID_HOME=/opt/android-sdk-linux
#echo y | android update sdk --no-ui --all --filter "tools"
#echo y | android update sdk --no-ui --all --filter "platform-tools"
#echo y | android update sdk --no-ui --all --filter "android-19,build-tools-23.0.1,android-23"
#echo y | android update sdk --no-ui --all --filter "extra-android-m2repository"
#echo y | android update sdk --no-ui --all --filter "extra-android-support"
#echo y | android update sdk --no-ui --all --filter "extra-google-m2repository"
#echo y | android update sdk --no-ui --all --filter "extra-google-google_play_services"
- script:
name: run gradle
code: ./gradlew --full-stacktrace build