Keep the intermediate APK signed the same way before going to the play store (#14484)

* Keep the intermediate APK signed the same way before going to the play store

* Don't run on PRs
This commit is contained in:
xster 2018-02-06 11:32:35 -08:00 committed by GitHub
parent be0c4888b0
commit 0f7d442892
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,9 @@ if [ -n "$TRAVIS" ]; then
export ANDROID_HOME=`pwd`/android-sdk
export PATH=`pwd`/android-sdk/tools/bin:$PATH
mkdir -p /home/travis/.android # silence sdkmanager warning
if [ -n "$ANDROID_GALLERY_UPLOAD_KEY" ]; then
echo $ANDROID_GALLERY_UPLOAD_KEY | base64 --decode > /home/travis/.android/debug.keystore
fi
echo 'count=0' > /home/travis/.android/repositories.cfg # silence sdkmanager warning
# suppressing output of sdkmanager to keep log under 4MB (travis limit)
echo y | sdkmanager "tools" >/dev/null