forked from geeeeeeeeek/WeChatLuckyMoney
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (42 loc) · 1.89 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
language: android
sudo: false
jdk: oraclejdk7
env:
matrix:
- ANDROID_TARGET=android-21 ANDROID_ABI=armeabi-v7a armeabi
android:
components:
- platform-tools
- build-tools-21.1.2
- android-L
- extra
before_install:
- openssl aes-256-cbc -K $encrypted_6b42a8524af0_key -iv $encrypted_6b42a8524af0_iv
-in monkeytong.jks.enc -out monkeytong.jks -d
before_script:
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- adb wait-for-device
- adb shell input keyevent 82 &
- gem install fir-cli
script:
- ./gradlew assembleRelease
deploy:
provider: releases
api_key:
secure: d3LLAX3Ro4ICSbPIn88kKsbVMb/rTKPCXcDQveQlmYHoqRt2F4tDQw+fOdcukgfx/tPsyCNkKTUEFF1gd0LUGfI4S2cBW3RcYPFWhPMfWSMOsEIvcD/sT3462YiyFH7ZF7ZApdtHdxU9Xo862Ze2amPAle/AbAw1VMQsRHqSex8QMgdKxDhlxzmGit8BVZ1q7cew2/9F9PVPnMCSY42vRtbltKmwedt0p5e9AJ/dEL526rxsAEXIu5UPHQgt7+YW5KDDabKW9EjWBIA6GqBxRQwT3x9CdJJ6hX7NIcOrkabWTSsakvnoT8t7LXuKMyBzJdZnTg1v52ych4MOIszJOF4jn3x5v3xzM13w7LB05w4MyCuPtLfss9+gduU2KGxHtxdRcs5J2OCN2PgHOwlksisERy3xZNxqQNxlJ/S19k4K7oOGzvK+17FnT8QqBG1wago2BCK29WgorLAT63ERusDaVgzxBvsTMfF+vFcX4E5B6BvXmGgM7Hl1eCika2hKcCUjes2kc/0+bCFEiKRImxmuukEIvA84cPhYb+ppr9lqcgw95FXOJg7P/ELmjBiOAx1hI3lOfh1A3Jj7X5LNVsKVKc6LMGaNxVuIRNJcR4uCWgGVNC7P5PZy+4DTwCP0xVJghSj1yABgQBOZz2ChSeTZMEvKzY8kuDzCa/CtSdU=
file: app/build/outputs/apk/app-release.apk
skip_cleanup: true
on:
repo: geeeeeeeeek/WeChatLuckyMoney
branch: stable
tags: true
after_deploy:
- fir p app/build/outputs/apk/app-release.apk -T $FIR_TOKEN -c "`git cat-file tag $TRAVIS_TAG`"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/d83cc8365de0abdd097e
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: always # options: [always|never|change] default: always