Permalink
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (25 sloc) 689 Bytes
language:
android
jdk:
oraclejdk8
env:
global:
# install timeout in minutes (2 minutes by default)
- ADB_INSTALL_TIMEOUT=15
- ANDROID_API=24
- ANDROID_BUILD_TOOLS=24.0.2
android:
components:
- tools
- build-tools-$ANDROID_BUILD_TOOLS
- android-$ANDROID_API
- sys-img-armeabi-v7a-android-$ANDROID_API
- extra-android-m2repository
licences:
- android-sdk-license-.+
# Emulator Management: Create, Start and Wait
before_script:
- echo no | android create avd --force -n test -t android-$ANDROID_API --abi armeabi-v7a
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &