Merge pull request #66 from pirogoeth/master

Have Travis build an AVD before running the install.
This commit is contained in:
Mohamed Zenadi 2015-03-10 21:58:11 +01:00
commit 508f9c51aa

View file

@ -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 &