2014-12-01 22:33:29 -05:00
|
|
|
language: java
|
2014-12-05 01:16:14 -05:00
|
|
|
env:
|
2015-04-05 16:43:26 -04:00
|
|
|
matrix:
|
2014-12-05 01:16:14 -05:00
|
|
|
- ANDROID_HOME="./android-sdk-linux"
|
2015-04-05 16:43:26 -04:00
|
|
|
global:
|
|
|
|
- secure: FFXEK5dnQaJ2nSyaggVO66uNfpM6WYdS962qjY4ry9OumoK9OHg25MeQPrWmQurUaDDRfzdjMTs0UicWvJAnka846dDpYVbt0bpWbnNsq8vb05h1XhCsjjnEwcgPzbbyoAecmx7m1noAhkjFVnqmUhnjoYIsNd/pIRplO+r+0PY=
|
|
|
|
- secure: BezK2LQRlHA4bgfShHH9l8/N0roGcMCxzAXV3CoGw4OWp6npUbIGvj1H4scA2OAMpct7u6fS9T0//FQehe6tbsHniVfsRxrmwsj8SqXQ6E3tQ4lZeFu9q6dy2qgIaktY9q2SIkf+/1DG5b7gd/KJX4luU8LX1RErorco6+MGuoQ=
|
2014-12-05 01:00:08 -05:00
|
|
|
before_install:
|
2015-04-05 16:43:26 -04:00
|
|
|
- openssl aes-256-cbc -K $encrypted_b017c1e684ac_key -iv $encrypted_b017c1e684ac_iv
|
2015-04-05 16:48:54 -04:00
|
|
|
-in app/src/main/play/play_api.p12.enc -out app/src/main/play/play_api.p12 -d
|
2015-04-05 16:43:26 -04:00
|
|
|
- bash android_install.sh
|
2014-11-17 16:49:10 -05:00
|
|
|
script:
|
2015-04-05 16:43:26 -04:00
|
|
|
- ./gradlew test
|
2014-11-17 16:49:10 -05:00
|
|
|
after_success:
|
2015-04-05 16:43:26 -04:00
|
|
|
- ./gradlew jacocoTestReport coveralls
|
|
|
|
- if [ $TRAVIS_TAG ]; then
|
|
|
|
echo "Publishing to Play store..."
|
|
|
|
./gradlew publishRelease
|
|
|
|
fi
|