2015-12-01 20:31:10 +00:00
|
|
|
language: android
|
2015-12-01 21:32:44 +00:00
|
|
|
android:
|
2015-12-01 20:31:10 +00:00
|
|
|
components:
|
|
|
|
# The BuildTools version used by NewPipe
|
2015-12-15 10:04:51 +00:00
|
|
|
- build-tools-23.0.2
|
2015-12-01 20:31:10 +00:00
|
|
|
|
|
|
|
# The SDK version used to compile NewPipe
|
|
|
|
- android-23
|
2015-12-15 10:04:51 +00:00
|
|
|
|
2015-12-01 20:31:10 +00:00
|
|
|
# Additional components
|
|
|
|
- extra-android-support
|
2015-12-01 22:16:58 +00:00
|
|
|
- extra-android-m2repository
|
2015-12-15 10:04:51 +00:00
|
|
|
|
2015-12-01 20:31:10 +00:00
|
|
|
# Emulators
|
2015-12-01 22:55:07 +00:00
|
|
|
- sys-img-armeabi-v7a-android-21
|
|
|
|
- sys-img-armeabi-v7a-android-19
|
|
|
|
- sys-img-armeabi-v7a-android-15
|
2015-12-01 22:48:41 +00:00
|
|
|
|
|
|
|
env:
|
2015-12-01 23:11:39 +00:00
|
|
|
global:
|
|
|
|
- ADB_INSTALL_TIMEOUT=8 # minutes (2 by default)
|
2015-12-01 22:48:41 +00:00
|
|
|
matrix:
|
2015-12-01 22:55:07 +00:00
|
|
|
- ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
|
2015-12-01 22:48:41 +00:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
|
|
|
|
- emulator -avd test -no-skin -no-audio -no-window &
|
|
|
|
- android-wait-for-emulator
|
|
|
|
- adb shell input keyevent 82 &
|