MinimalBible/.travis.yml
2015-04-05 16:48:54 -04:00

20 lines
830 B
YAML

language: java
env:
matrix:
- ANDROID_HOME="./android-sdk-linux"
global:
- secure: FFXEK5dnQaJ2nSyaggVO66uNfpM6WYdS962qjY4ry9OumoK9OHg25MeQPrWmQurUaDDRfzdjMTs0UicWvJAnka846dDpYVbt0bpWbnNsq8vb05h1XhCsjjnEwcgPzbbyoAecmx7m1noAhkjFVnqmUhnjoYIsNd/pIRplO+r+0PY=
- secure: BezK2LQRlHA4bgfShHH9l8/N0roGcMCxzAXV3CoGw4OWp6npUbIGvj1H4scA2OAMpct7u6fS9T0//FQehe6tbsHniVfsRxrmwsj8SqXQ6E3tQ4lZeFu9q6dy2qgIaktY9q2SIkf+/1DG5b7gd/KJX4luU8LX1RErorco6+MGuoQ=
before_install:
- openssl aes-256-cbc -K $encrypted_b017c1e684ac_key -iv $encrypted_b017c1e684ac_iv
-in app/src/main/play/play_api.p12.enc -out app/src/main/play/play_api.p12 -d
- bash android_install.sh
script:
- ./gradlew test
after_success:
- ./gradlew jacocoTestReport coveralls
- if [ $TRAVIS_TAG ]; then
echo "Publishing to Play store..."
./gradlew publishRelease
fi