2019-10-15 09:37:58 +02:00
|
|
|
language: android
|
|
|
|
android:
|
|
|
|
components:
|
2020-03-22 15:48:05 +01:00
|
|
|
- android-25
|
2020-03-20 22:36:52 +01:00
|
|
|
- android-29
|
2020-03-21 15:59:41 +01:00
|
|
|
- tools
|
|
|
|
- platform-tools
|
2020-03-20 22:36:52 +01:00
|
|
|
- build-tools-29.0.3
|
2020-03-22 15:48:05 +01:00
|
|
|
- sys-img-armeabi-v7a-google_apis-25
|
2019-10-15 09:48:54 +02:00
|
|
|
licenses:
|
|
|
|
- 'android-sdk-preview-license-52d11cd2'
|
|
|
|
- 'android-sdk-license-.+'
|
|
|
|
- 'google-gdk-license-.+'
|
2019-10-15 09:37:58 +02:00
|
|
|
|
|
|
|
script:
|
2020-03-20 22:36:52 +01:00
|
|
|
- ./gradlew clean assembleDebug assembleRelease testDebug app:connectedAndroidTest
|
2019-10-15 09:55:20 +02:00
|
|
|
|
|
|
|
before_install:
|
2019-11-01 20:14:27 +01:00
|
|
|
- yes | sdkmanager "platforms;android-29"
|
2020-03-20 22:36:52 +01:00
|
|
|
- yes | sdkmanager "build-tools;29.0.3"
|
|
|
|
|
|
|
|
before_script:
|
2020-03-22 14:47:06 +01:00
|
|
|
- android list target
|
2020-03-22 15:48:05 +01:00
|
|
|
- echo no | android create avd --force -n test -t android-25 --abi google_apis/armeabi-v7a -c 100M
|
2020-03-20 22:36:52 +01:00
|
|
|
- emulator -avd test -no-audio -no-window &
|
|
|
|
- android-wait-for-emulator
|
|
|
|
- adb shell input keyevent 82 &
|