Add a 30 second pause to give the emulator a chance to start

Not sure why the builds have been working all this time before...
This commit is contained in:
Bradlee Speice 2014-11-09 21:56:19 -05:00
parent a60e62f731
commit 85427711df

View File

@ -10,13 +10,14 @@ android:
env: env:
matrix: matrix:
- ANDROID_SDKS=android-21,sysimg-21 ANDROID_TARGET=android-21 ANDROID_ABI=armeabi-v7a - ANDROID_SDKS=android-21,sysimg-21 ANDROID_TARGET=android-21 ANDROID_ABI=x86
before_install: before_install:
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window & - emulator -avd test -no-skin -no-audio -no-window &
before_script: before_script:
- sleep 30
- bash ./wait_for_emulator - bash ./wait_for_emulator
- adb shell input keyevent 82 & - adb shell input keyevent 82 &