2015-11-23 23:17:03 +00:00
|
|
|
sudo: required
|
2015-11-23 21:24:18 +00:00
|
|
|
language: android
|
|
|
|
android:
|
|
|
|
components:
|
|
|
|
# Uncomment the lines below if you want to
|
|
|
|
# use the latest revision of Android SDK Tools
|
2015-11-23 21:31:11 +00:00
|
|
|
#- platform-tools
|
|
|
|
- tools
|
2015-11-23 21:24:18 +00:00
|
|
|
|
|
|
|
# The BuildTools version used by your project
|
|
|
|
- build-tools-23.0.2
|
|
|
|
|
|
|
|
# The SDK version used to compile your project
|
|
|
|
- android-23
|
|
|
|
|
|
|
|
# Additional components
|
|
|
|
- extra-google-google_play_services
|
|
|
|
- extra-google-m2repository
|
|
|
|
- extra-android-m2repository
|
2015-11-23 22:49:20 +00:00
|
|
|
- addon-google_apis-google-23
|
2015-11-23 21:24:18 +00:00
|
|
|
|
|
|
|
# Specify at least one system image,
|
|
|
|
# if you need to run emulator(s) during your tests
|
2015-11-23 23:08:04 +00:00
|
|
|
- sys-img-x86_64-android-23
|
2015-11-23 22:31:26 +00:00
|
|
|
# Emulator Management: Create, Start and Wait
|
|
|
|
|
|
|
|
before_script:
|
2015-11-23 23:24:01 +00:00
|
|
|
- sudo modprobe kvm
|
2015-11-23 23:08:04 +00:00
|
|
|
- echo no | android create avd --force -n test -t android-23 --abi x86_64
|
2015-11-23 22:31:26 +00:00
|
|
|
- emulator -avd test -no-skin -no-audio -no-window &
|
|
|
|
- android-wait-for-emulator
|
|
|
|
- adb shell input keyevent 82 &
|