提交 9fbd5ced 创建 作者: 宋海霞's avatar 宋海霞

更新 .gitlab-ci.yml

上级 69837b12
流水线 #118721 已取消 于阶段
用时 3 分 48 秒
#image: openjdk:8-jdk
#image: "registry.cn-hangzhou.aliyuncs.com/engintime/ubuntu_16.04_program:latest"
image: "android-container:5.1"
image: "android-container:7.0"
variables:
ANDROID_COMPILE_SDK: "25"
......@@ -57,13 +57,13 @@ functionalTests:
<<: *codecode-runner
script:
- wget --quiet --output-document=android-wait-for-emulator https://raw.githubusercontent.com/travis-ci/travis-cookbooks/0f497eb71291b52a703143c5cd63a217c8766dc9/community-cookbooks/android-sdk/files/default/android-wait-for-emulator
- chmod +x android-wait-for-emulator
# - chmod +x android-wait-for-emulator
- echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter sys-img-x86-google_apis-${ANDROID_COMPILE_SDK}
- echo no | android-sdk-linux/tools/android create avd -n test -t android-${ANDROID_COMPILE_SDK} --abi google_apis/x86
- android-sdk-linux/tools/emulator64-x86 -avd test -no-window -no-audio &
- ./android-wait-for-emulator
- adb shell input keyevent 82
- ./gradlew cAT
# - ./android-wait-for-emulator
# - adb shell input keyevent 82
# - ./gradlew cAT
artifacts:
paths:
- app/build/reports/androidTests/
\ No newline at end of file
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论