try to start emulator in travis

This commit is contained in:
ligi 2014-08-12 21:45:07 +02:00
parent ce02967ca1
commit 58a348f0a9

View file

@ -9,16 +9,24 @@ android:
- extra-google-m2repository
- extra-android-m2repository
branches:
only:
- dev
- master
jdk: oraclejdk7
env:
global:
- ANDROID_SDK_VERSION="r23.0.2"
matrix:
- ANDROID_SDKS=android-19,sysimg-19 ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
before_install:
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
before_script:
- wget https://raw.githubusercontent.com/andrewhr/rxjava-android-example/master/ci/wait_for_emulator
- chmod +x wait_for_emulator
- ./wait_for_emulator
- adb shell input keyevent 82 &
notifications:
email: true