From fc95ba50735c3dc7682bba1f4102892054a95a63 Mon Sep 17 00:00:00 2001 From: mhutti1 Date: Wed, 8 Mar 2017 21:28:30 +0000 Subject: [PATCH] Add travis emulator --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 66dbbfc66..59c2a94f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,12 @@ language: android jdk: oraclejdk8 +before_script: + - echo no | android create avd --force -n test -t android-24 --abi armeabi-v7a + - emulator -avd test -no-audio -no-window & + - android-wait-for-emulator + - adb shell input keyevent 82 & + install: - echo y | android update sdk -u -a -t tools - echo y | android update sdk -u -a -t platform-tools