MinimalBible/.travis.yml

34 lines
1.2 KiB
YAML
Raw Normal View History

2015-06-13 19:41:40 -04:00
language: android
2014-12-05 01:16:14 -05:00
env:
global:
2015-06-13 19:41:40 -04:00
- secure: FFXEK5dnQaJ2nSyaggVO66uNfpM6WYdS962qjY4ry9OumoK9OHg25MeQPrWmQurUaDDRfzdjMTs0UicWvJAnka846dDpYVbt0bpWbnNsq8vb05h1XhCsjjnEwcgPzbbyoAecmx7m1noAhkjFVnqmUhnjoYIsNd/pIRplO+r+0PY=
- secure: jrti7lGbCxscGDzOVgcVuIMSFnTUfJSbL5VtvhZXKllRoKeuM4tJ8HMubUKG0UXR0VGZl3XPcj3Ga7W6gxxSOavA9zmkT1kC9v/ya9QPQI1hCn1kq0GESxj3uFeYyiSa3T/0GcEO0bB660ttRSfpSwQ+MZknJUzIIdTt7K3LjXA=
android:
components:
- platform-tools
- tools
2015-06-13 19:44:59 -04:00
- android-22
- sys-img-armeabi-v7a-android-22
2015-06-13 19:41:40 -04:00
before_install:
2015-06-13 23:32:09 -04:00
# -in is a switch to openssl
2015-06-13 19:41:40 -04:00
- 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
# We have to make sure the actual JSword is updated
- git submodule update --init --recursive
2015-06-13 23:32:09 -04:00
before_script:
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7
2015-06-13 23:32:09 -04:00
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
2014-11-17 16:49:10 -05:00
after_success:
2015-06-13 19:41:40 -04:00
- ./gradlew jacocoTestReport coveralls
- if [ $TRAVIS_TAG ];
then echo "Publishing to Play store...";
./gradlew publishRelease;
fi