From 2c129084c26f9fc2928a66de3cab9dbf51d22631 Mon Sep 17 00:00:00 2001 From: firelotus Date: Sat, 11 Aug 2018 11:45:55 +0800 Subject: [PATCH] =?UTF-8?q?travis-ci=E9=85=8D=E7=BD=AEapk=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4b86a45..9e48774 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,4 +27,18 @@ before_install: script: # - ./gradlew clean build - - ./gradlew :app:assembleRlsRelease \ No newline at end of file + - ./gradlew :app:assembleRlsRelease + +deploy: + provider: releases + api_key: + secure: 76365c9e32d539cb342ecc9100e81c9ee8e9c525 + file: app/build/outputs/apk/rls/release/app-rls-release.apk + on: + repo: firelotus/Meteorite + tags: true + all_branches: true +before_install: +- gem install fir-cli +after_deploy: +- fir p app/build/outputs/apk/rls/release/app-rls-release.apk -T $FIR_TOKEN -c "`git cat-file tag $TRAVIS_TAG`" \ No newline at end of file