Skip to content

Commit

Permalink
Fix travis for out of repo prs
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 24, 2020
1 parent eaec889 commit 3e7c585
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -17,7 +17,7 @@ services:
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
- openssl aes-256-cbc -K $encrypted_c158cd588669_key -iv $encrypted_c158cd588669_iv -in keystore.p12.enc -out keystore.p12 -d
- ./scripts/ci/setup_signing_key.sh

script:
- export QFIELD_SDK_VERSION=$(awk -F "=" '/osgeo4a_version/{print $2}' sdk.conf)
Expand Down
6 changes: 6 additions & 0 deletions scripts/ci/setup_signing_key.sh
@@ -0,0 +1,6 @@
#!/bin/bash
set -e

if [[ ${TRAVIS_SECURE_ENV_VARS} = true ]]; then
openssl aes-256-cbc -K $encrypted_c158cd588669_key -iv $encrypted_c158cd588669_iv -in keystore.p12.enc -out keystore.p12 -d
fi

0 comments on commit 3e7c585

Please sign in to comment.