mirror of https://github.com/readrops/Readrops.git
26 lines
683 B
YAML
26 lines
683 B
YAML
language: android
|
|
android:
|
|
components:
|
|
- android-29
|
|
- tools
|
|
- platform-tools
|
|
- build-tools-29.0.3
|
|
- sys-img-armeabi-v7a-android-29
|
|
licenses:
|
|
- 'android-sdk-preview-license-52d11cd2'
|
|
- 'android-sdk-license-.+'
|
|
- 'google-gdk-license-.+'
|
|
|
|
script:
|
|
- ./gradlew clean assembleDebug assembleRelease testDebug app:connectedAndroidTest
|
|
|
|
before_install:
|
|
- yes | sdkmanager "platforms;android-29"
|
|
- yes | sdkmanager "build-tools;29.0.3"
|
|
|
|
before_script:
|
|
- echo no | android create avd --force -n test -t android-29 --abi armeabi-v7a -c 100M
|
|
- emulator -avd test -no-audio -no-window &
|
|
- android-wait-for-emulator
|
|
- adb shell input keyevent 82 &
|