-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81e8b20
commit a0587ca
Showing
15 changed files
with
200 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
language: android | ||
jdk: oraclejdk8 | ||
sudo: true | ||
|
||
android: | ||
components: | ||
- tools | ||
- platform-tools | ||
- tools | ||
- build-tools-27.0.3 | ||
- android-27 | ||
- sys-img-armeabi-v7a-android-27 | ||
- extra-android-support | ||
- extra-android-m2repository | ||
- extra-google-m2repository | ||
- add-on | ||
- extra | ||
licenses: | ||
- android-sdk-preview-license-52d11cd2 | ||
- android-sdk-license-.+ | ||
- google-gdk-license-.+ | ||
|
||
before_cache: | ||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | ||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | ||
cache: | ||
directories: | ||
- "$HOME/.gradle/caches/" | ||
- "$HOME/.gradle/wrapper/" | ||
- "$HOME/.android/build-cache" | ||
|
||
before_install: | ||
- mkdir "$ANDROID_HOME/licenses" || true | ||
- echo "d56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license" | ||
- openssl aes-256-cbc -K $encrypted_0895791d098d_key -iv $encrypted_0895791d098d_iv | ||
-in signings/keystore.jks.enc -out signings/keystore.jks -d | ||
- gem install fir-cli | ||
|
||
before_script: | ||
- chmod +x gradlew | ||
|
||
script: | ||
- "./gradlew assembleRelease" | ||
|
||
deploy: | ||
provider: releases | ||
api_key: | ||
secure: R/OzMXCIDqSGJd+psZAmPtnEVsFNVWuStdqdTZh8yGPv8XeIPxs/njrMwsB5g+4j5uAMH21rc1xFClnwWCS1nHwwDQ6WcCC043aiwQFCQiLBMXNBS2YKaeGvZxshbkjyZo7vJPvXBdls3vBl/DkNFefnIQgCWjPMnZxYbD8hbqYUeprM7RUDcjafAHPedsqqvUB7Ca74RYaAVJHDxnxRTG3VF0zHG/UH3aT5NSglBl+SgCxrV+n4OXhZpBC3kqjsxBYjnMP0sLuSbDyz+i4zJ5nr6JmSBQMygN9Kvsf4bdbAaNkdsq0RqasWIM4ralU1hs2sf4VZi5/v6lD3FFUIaUuaG0JFr8DTMXkLllk5MqiQWpvntYaxlu+Tb+J9pQ6ljKkgrbomSaiNCg34e+nWhRiZBib8aGo0jLGR2wlJGJTVgGMVjss11Zx4Zm4DqvUSJM1J2OGgV10dscI7Y+zz2ANa06m+KW1q5QkCNoNbYKy3bIN2ne1RB9nUcqgo1kMZpUYQd7J6c+DaRPTSMF8QUO/2ggKyfWRjLO2tuWrlYmW7Udu7VCQsLhDOYA8E+5GxzKkquOShJIHn4X0QGZsDFNC6um6Pp4gBBsM/Aghwc2J5YDpbyt8ArycfUMG1EsjMfKdnbp7xxuctkgKk3kMaT/7uuoseZgSYoRurk/y2vqw= | ||
file: Sample/outputs/FirUpdater.apk | ||
skip_cleanup: true | ||
on: | ||
repo: sfsheng0322/FirUpdater | ||
tags: true | ||
all_branches: true | ||
|
||
after_deploy: | ||
- "./gradlew clean build bintrayUpload -PbintrayUser=sfsheng0322 -PbintrayKey=$BINTRAY_TOKEN -PdryRun=false" | ||
- fir p Sample/outputs/FirUpdater.apk -T $FIR_TOKEN -c "`git cat-file tag $TRAVIS_TAG`" | ||
|
||
notifications: | ||
email: | ||
- sfsheng0322@126.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# FirUpdater | ||
|
||
FIR 测试通道下 APK 更新器 | ||
|
||
<br/> | ||
|
||
### 效果图 | ||
|
||
<img src="/resources/res.png" > | ||
|
||
<br/> | ||
|
||
#### Gradle: | ||
|
||
compile 'com.sunfusheng:GroupRecyclerViewAdapter:<latest-version>' | ||
|
||
<br/> | ||
|
||
### 扫一扫[Fir.im](https://fir.im/GroupAdapter)二维码下载APK | ||
|
||
<br/> | ||
|
||
<img src="/resources/fir.im.png" style="width: 30%;" alt="s"> | ||
|
||
<br/> | ||
|
||
### 关注我吧,让我们做朋友^_^ | ||
|
||
<img src="http://ourvm0t8d.bkt.clouddn.com/follow_me.png"> | ||
|
||
### 打个赏吧,给作者加点油^_^ | ||
|
||
<img src="http://ourvm0t8d.bkt.clouddn.com/reward_me.png" > | ||
|
||
### 关于我 | ||
|
||
[GitHub: sfsheng0322](https://github.com/sfsheng0322) | ||
|
||
[个人邮箱: sfsheng0322@126.com](https://mail.126.com/) | ||
|
||
[个人博客: sunfusheng.com](http://sunfusheng.com/) | ||
|
||
[简书主页](http://www.jianshu.com/users/88509e7e2ed1/latest_articles) | ||
|
||
[新浪微博](http://weibo.com/u/3852192525) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1},"path":"FirUpdater.apk","properties":{"packageId":"com.sunfusheng.firupdater.sample","split":"","minSdkVersion":"14"}}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
KEYSTORE_FILEPATH=../signings/keystore.jks | ||
STORE_PASSWORD=sunfusheng | ||
KEY_ALIAS=sunfusheng | ||
KEY_PASSWORD=sunfusheng |