aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorpirogoeth <pirogoeth@maio.me>2015-03-10 09:22:20 -0500
committerpirogoeth <pirogoeth@maio.me>2015-03-10 09:22:20 -0500
commitb2429b4eeee317b38a0b92f650f5732c34474894 (patch)
treedf8be866df3e45e3e507e2489afc7350966edfcf /.travis.yml
parentc3a354806c73a93e6ff15a52229ee27cce967c5b (diff)
add before_script to .travis.yml to set up an avd
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index f929378d..e26f18e8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,3 +19,8 @@ android:
# Specify at least one system image,
# if you need to run emulator(s) during your tests
- sys-img-x86-android-21
+before_script:
+ - echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
+ - emulator -avd test -no-skin -no-audio -no-window &
+ - android-wait-for-emulator
+ - adb shell input keyevent 82 &