Get an emulator started on Travis

master
Bradlee Speice 2015-06-13 23:32:09 -04:00
parent 6b94fe0b2e
commit 9f0e10c9f5
1 changed files with 8 additions and 0 deletions

View File

@ -9,14 +9,22 @@ android:
- platform-tools
- tools
- android-22
- sys-img-x86-android-22
before_install:
# -in is a switch to openssl
- 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
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:
- ./gradlew jacocoTestReport coveralls
- if [ $TRAVIS_TAG ];