From b4585b63bbdafd4052cc03952177b3450e4d9d2d Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 9 Dec 2019 04:40:19 +0300 Subject: [PATCH] travis: deploy only on success, don't install shared keystore --- .travis.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 05319e04..bf8dda65 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,10 +4,7 @@ android: components: - android-29 - build-tools-28.0.3 -before_script: - - mkdir -p $ANDROID_HOME/.android/ - - cp debug.keystore $ANDROID_HOME/.android/ -after_script: +after_success: - $ANDROID_HOME/build-tools/28.0.3/apksigner sign --ks debug.keystore --ks-key-alias androiddebugkey --ks-pass "pass:android" --key-pass "pass:android" --in $(find -name "*-blue-release-unsigned.apk") --out husky-release.apk - wget https://raw.githubusercontent.com/FWGS/uploadtool/master/upload.sh - chmod +x upload.sh