From b2429b4eeee317b38a0b92f650f5732c34474894 Mon Sep 17 00:00:00 2001 From: pirogoeth Date: Tue, 10 Mar 2015 09:22:20 -0500 Subject: add before_script to .travis.yml to set up an avd --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.travis.yml') 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 & -- cgit v1.2.3