From b2429b4eeee317b38a0b92f650f5732c34474894 Mon Sep 17 00:00:00 2001 From: pirogoeth Date: Tue, 10 Mar 2015 09:22:20 -0500 Subject: [PATCH 1/2] add before_script to .travis.yml to set up an avd --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index f929378d1..e26f18e88 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 & From a51b119dec9c6484ea69227548b36ee0f06cdd20 Mon Sep 17 00:00:00 2001 From: pirogoeth Date: Tue, 10 Mar 2015 09:35:00 -0500 Subject: [PATCH 2/2] another change to trigger a build in travis. --- .travis.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index e26f18e88..b9ea4b6c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,6 @@ language: android android: components: - # Uncomment the lines below if you want to - # use the latest revision of Android SDK Tools - # - platform-tools - # - tools - # The BuildTools version used by your project - build-tools-21.1.2