Get an emulator started on Travis

This commit is contained in:
Bradlee Speice 2015-06-13 23:32:09 -04:00
parent 6b94fe0b2e
commit 9f0e10c9f5

View File

@ -9,14 +9,22 @@ android:
- platform-tools - platform-tools
- tools - tools
- android-22 - android-22
- sys-img-x86-android-22
before_install: before_install:
# -in is a switch to openssl
- openssl aes-256-cbc -K $encrypted_b017c1e684ac_key -iv $encrypted_b017c1e684ac_iv - 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 -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 # We have to make sure the actual JSword is updated
- git submodule update --init --recursive - git submodule update --init --recursive
before_script:
- echo no | android create avd --force -n test -t android-22 --abi x86_64
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
after_success: after_success:
- ./gradlew jacocoTestReport coveralls - ./gradlew jacocoTestReport coveralls
- if [ $TRAVIS_TAG ]; - if [ $TRAVIS_TAG ];