Skip to content

Commit

Permalink
V1.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfusheng committed Jan 30, 2018
1 parent 9ddb8c8 commit 4ebb564
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: android
jdk: oraclejdk8
sudo: true

android:
components:
- tools
Expand All @@ -18,24 +19,30 @@ android:
- 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_9a063031b0d7_key -iv $encrypted_9a063031b0d7_iv
-in keystore.jks.enc -out sign/keystore.jks -d
- gem install fir-cli

before_script:
- chmod +x gradlew

script:
- "./gradlew assembleRelease"

deploy:
provider: releases
api_key:
Expand All @@ -46,8 +53,10 @@ deploy:
repo: sfsheng0322/RxGank
tags: true
all_branches: true

after_deploy:
- fir p app/outputs/Gank.IO.apk -T $FIR_TOKEN -c "`git cat-file tag $TRAVIS_TAG`"

notifications:
email:
- sfsheng0322@126.com

0 comments on commit 4ebb564

Please sign in to comment.