summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMohamed Zenadi <zeapo@users.noreply.github.com>2015-03-10 21:58:11 +0100
committerMohamed Zenadi <zeapo@users.noreply.github.com>2015-03-10 21:58:11 +0100
commit508f9c51aafc7e373a8fb9dffc10d7bd99208985 (patch)
treec3577f02ee84f98181693fcc505902de1c31a37b /.travis.yml
parent00593ab1de79aaf73af9380560f2d6532753d015 (diff)
parenta51b119dec9c6484ea69227548b36ee0f06cdd20 (diff)
Merge pull request #66 from pirogoeth/master
Have Travis build an AVD before running the install.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index f929378d..b9ea4b6c 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
@@ -19,3 +14,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 &