mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-25 14:45:59 +03:00
Travis: don't decode secrets for PRs
This commit is contained in:
parent
bfd46f28e0
commit
0ef0f6ece1
1 changed files with 5 additions and 3 deletions
|
@ -10,9 +10,11 @@ android:
|
||||||
licenses:
|
licenses:
|
||||||
- android-sdk-license-.+
|
- android-sdk-license-.+
|
||||||
before_install:
|
before_install:
|
||||||
- openssl aes-256-cbc -K $encrypted_e56be693d4fd_key -iv $encrypted_e56be693d4fd_iv -in "$PWD/.travis/secrets.tar.enc" -out secrets.tar -d
|
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
|
||||||
- tar xf secrets.tar
|
openssl aes-256-cbc -K $encrypted_e56be693d4fd_key -iv $encrypted_e56be693d4fd_iv -in "$PWD/.travis/secrets.tar.enc" -out secrets.tar -d
|
||||||
- mv debug.keystore "$HOME/.android"
|
tar xf secrets.tar
|
||||||
|
mv debug.keystore "$HOME/.android"
|
||||||
|
fi
|
||||||
- git clone https://github.com/urho3d/android-ndk.git $HOME/android-ndk-root
|
- git clone https://github.com/urho3d/android-ndk.git $HOME/android-ndk-root
|
||||||
- export ANDROID_NDK_HOME=$HOME/android-ndk-root
|
- export ANDROID_NDK_HOME=$HOME/android-ndk-root
|
||||||
- mkdir "$ANDROID_HOME/licenses" || true
|
- mkdir "$ANDROID_HOME/licenses" || true
|
||||||
|
|
Loading…
Reference in a new issue