add before_script to .travis.yml to set up an avd
This commit is contained in:
parent
c3a354806c
commit
b2429b4eee
1 changed files with 5 additions and 0 deletions
|
@ -19,3 +19,8 @@ android:
|
||||||
# Specify at least one system image,
|
# Specify at least one system image,
|
||||||
# if you need to run emulator(s) during your tests
|
# if you need to run emulator(s) during your tests
|
||||||
- sys-img-x86-android-21
|
- 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 &
|
||||||
|
|
Loading…
Reference in a new issue