From 9f0e10c9f55c67c2850ad2b15f5da0d1dbdd0e76 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sat, 13 Jun 2015 23:32:09 -0400 Subject: [PATCH] Get an emulator started on Travis --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 76f7077..24066b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 ];