Skip to content

Commit 36f4e4d

Browse files
committed
Don't try to sign APKs until deploy
This means we might not notice an signing issue normally, until deploy time, but on the other hand it means that PRs will build successfully, which is pretty useful!
1 parent 14a9c67 commit 36f4e4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ android:
44
components:
55
- build-tools-29.0.3
66
- android-30
7-
before_install:
8-
- openssl aes-256-cbc -K $encrypted_410c058128c0_key -iv $encrypted_410c058128c0_iv
9-
-in android-travis-cert-store.enc -out ./android-travis-cert-store.jks -d
107
script:
118
- yes | sdkmanager "platforms;android-30" # Accept the Android 11 platform license, since Travis can't yet
129
- "./gradlew assembleRelease"
10+
before_deploy:
11+
- openssl aes-256-cbc -K $encrypted_410c058128c0_key -iv $encrypted_410c058128c0_iv
12+
-in android-travis-cert-store.enc -out ./android-travis-cert-store.jks -d
1313
- jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -storepass $CERT_STORE_PWD
1414
-keypass $CERT_STORE_PWD -keystore ./android-travis-cert-store.jks app/build/outputs/apk/release/app-release-unsigned.apk
1515
$CERT_ALIAS

0 commit comments

Comments
 (0)