2018-03-08 15:39:06 +01:00
|
|
|
language: android
|
2018-03-13 16:06:34 +01:00
|
|
|
java: oraclejdk8
|
2018-03-08 15:39:06 +01:00
|
|
|
android:
|
|
|
|
componentes:
|
|
|
|
- tools
|
|
|
|
- platform-tools
|
|
|
|
- tools
|
|
|
|
|
|
|
|
- build-tools-27.0.3
|
|
|
|
- android-27
|
|
|
|
- extra-m2-repository
|
2018-03-08 17:32:39 +01:00
|
|
|
|
|
|
|
before_script:
|
2018-03-13 16:21:52 +01:00
|
|
|
- mkdir "$ANDROID_HOME/licenses" || true
|
|
|
|
- echo -e "\nd56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license"
|
2018-03-13 16:06:34 +01:00
|
|
|
- touch empty.file
|
|
|
|
- gradle wrapper --gradle-version 4.1 -b empty.file
|
|
|
|
- rm empty.file
|
2018-03-13 17:06:00 +01:00
|
|
|
- echo no | android create avd --force -n test -t android-27 --abi armeabi-v7a
|
2018-03-13 17:00:26 +01:00
|
|
|
- emulator -avd test -no-audio -no-window &
|
|
|
|
- android-wait-for-emulator
|
|
|
|
- adb shell input keyevent 82 &
|