Avocado/.travis/android/run-container.sh
Jakub Czekański 90f910bc5b ci: package Linux artifacts as AppImage
ci: disable signing for PR builds
2020-05-11 02:52:15 +02:00

16 lines
506 B
Bash
Executable file

#!/bin/bash -ex
# Run in Travis to launch container
# Setup signing
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
openssl aes-256-cbc -K $encrypted_7333c7dd5b15_key -iv $encrypted_7333c7dd5b15_iv -in android/avocado.keystore.enc -out android/avocado.keystore -d
fi
mkdir -p "$HOME/.ccache"
docker run \
-v $(pwd):/home/build \
-v "$HOME/.ccache":/root/.ccache \
-e keystore_password="$keystore_password" \
avocadoemu/android \
/bin/bash -ex /home/build/.travis/android/build.sh