-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (44 loc) · 3.85 KB
/
.travis.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
32
33
34
35
36
37
38
39
40
41
42
43
44
language: android
jdk: oraclejdk8
sudo: false
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
env:
global:
- ANDROID_API=26
- ANDROID_BUILD_TOOLS=26.0.2
- secure: d45prmw8JOI6EQehfv9uvFhMM7DqTa6ozoLbPWjuKOtOxRRBiuPBqp57VedjlCWAoEMdErucD1ehXwoIgJgj+yadtvZTF2C2wftoNofZAygp4EZbdvXXMACRVtrSBr4NmQb3UklNshfvmizvMtw2y2l4kAC1EpcD/d6MNoXSMuPQ6wZOZ4P9tFXDWCupkbuTzz1NBxXk+GF1b5Td6eMDqJyQdRYfqCZ7LuOqJ4LQQicFqxoEkub7H4s5RDe+6xpmDH44cZBOkjN27HeY7kkn9KmXro6JATitNUXk3CsR3sBnPrHavDkLakB6duoZb05ybvAMyWEYGId76Un0RVwyHy52Cou0Hi9veOMiREHbyVkuKWOC7K+Z2dheTGxRbnR+da2esBYZkY8G2UKkNGe749nrLQePQO9JX/xqkC2CJ1ZVmgoEw1pSwpt3SDAw20jqPQuPpkpVkfua2ZsvPrbhC8np0kqRr5MDYI35LArH+6aSOgIDPDxwA+pRk09Opkuwcu90CqXMYMY1eqm6wexkZs6+TyOMsFNXbKRK4q4LsMMIw6LYGg0n105dIVu3mkPIsXLqicXuKJhhM/VkFB0x4QkIhUY1m6iBOY1nusojRSryEGH17jbRkPvR4tAL59rhPPMoVUWTeBr2lgvK3T6/jQrr48C6dc9Mg/rze2c8Xc8=
- secure: QzKMmRuTolRL3IzS5rE2otkrWrzYMq1PMeU4hlsaP0yQXTCTpsnKL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TkJFyyLaxkjMi4voizY4i01dKtUITdsw7nWIShnoX3pwKHu/p0+C+iphJlqhxAU6G1U7ntZDJ9/toPOHQZPKqQwVhK6iEvNltt6EKGd+b0dYKBGXlapCyBDFwVzHDFK2yJfzKeXci5I2jkjGDjap8lZZIeq4vCzJ0dCQKCIqVINtD2L59MVWr6pU1l6cfpjHMNmhtLHz4Ts3QBAWdL8FXvI9/eiJ6BE95BopbGsQBLFluRQsgqHRD0=
android:
components:
- android-$ANDROID_API
- build-tools-ANDROID_BUILD_TOOLS
- extra-android-support
licenses:
- android-sdk-license-.+
before_install:
- openssl aes-256-cbc -K $encrypted_204758af0f09_key -iv $encrypted_204758af0f09_iv
-in wukong.jks.enc -out wukong.jks -d
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
- chmod +x gradlew
- ./gradlew dependencies || true
script:
- ./gradlew assembleDebug assembleRelease
deploy:
provider: releases
api_key:
secure: PpEqCtZguVge5D7d1q1RfAJbnxvoBsuf1+aRINeaQS3LNM4n4YQfNCzDfj4Iv0/s6H9skyj2o3PNbn6xt9/IeVwsitS6KQQIfvHjB8cgu0Xv/mWWpo4SFz/F6SZk8ZtWyLXVLWMskTDWP+A7pxT9PltOrLGcvQPPS76LqHBXEqe6sFPk3OyLZr1t7xL523QHXd184Ga+Hu1NOSCd/aCtA+K0WPA2Y94OIcO7RXNsZUmI1job7EF9/VR7QyT1fXgbkcJAs1a4s1uAi5ZhglsTs4DZOirJbysE6o8Owf2DT3ZNCM8AZRCOm+FFdCu7keid14QFenS+Vp6KliE+B//nm8g81/NzABcwuGWXa45TzOuRFfPOFkE0V3nuvpFX6BfYCkbzKEgMRaz2fXWPGF4s7ZBPJVc2wVl/HxJYUgfZGgkmQrxhOdWVYHZTaDfSQWyV2nOZ/rShnZ0tb3j6IGt8GM/5cupkllzmUcXHzlcccNT8e7VlHObaynNrouh75KP6FEw8rfwnZyjQlCn5Hx8nIegDgNobW0ZgffrM7bMPLpHOSL+XyBRKrJtojrx6pUpGW8MKhxbRITRg0xM1VBSL0gRl5aCOJt9SHcq60/xnexJSPKQsDFmVYjl7GT/az1A2S/Je/EY6fS8Ij9B+aNe9HiacBYcwhLxXM2zhRuFDXak=
file:
- wukong/build/outputs/apk/debug/wukong-debug.apk
- wukong/build/outputs/apk/release/wukong-release.apk
on:
tags: true
skip_cleanup: true