Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
M
MyFirstTest
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
问题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
银宸大学计算机学院
教师群组
宋海霞-shx
androidTest
MyFirstTest
提交
9fbd5ced
提交
9fbd5ced
8月 12, 2020
创建
作者:
宋海霞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新 .gitlab-ci.yml
上级
69837b12
流水线
#118721
已取消 于阶段
用时 3 分 48 秒
变更
1
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
6 行增加
和
5 行删除
+6
-5
.gitlab-ci.yml
.gitlab-ci.yml
+6
-5
没有找到文件。
.gitlab-ci.yml
浏览文件 @
9fbd5ced
#image: openjdk:8-jdk
#image: openjdk:8-jdk
#image: "registry.cn-hangzhou.aliyuncs.com/engintime/ubuntu_16.04_program:latest"
#image: "registry.cn-hangzhou.aliyuncs.com/engintime/ubuntu_16.04_program:latest"
image
:
"
android-container:
5.1
"
image
:
"
android-container:
7.0
"
variables
:
variables
:
ANDROID_COMPILE_SDK
:
"
25"
ANDROID_COMPILE_SDK
:
"
25"
...
@@ -57,13 +57,13 @@ functionalTests:
...
@@ -57,13 +57,13 @@ functionalTests:
<<
:
*codecode-runner
<<
:
*codecode-runner
script
:
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
-
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 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
-
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-sdk-linux/tools/emulator64-x86 -avd test -no-window -no-audio &
-
./android-wait-for-emulator
#
- ./android-wait-for-emulator
-
adb shell input keyevent 82
#
- adb shell input keyevent 82
-
./gradlew cAT
#
- ./gradlew cAT
artifacts
:
artifacts
:
paths
:
paths
:
-
app/build/reports/androidTests/
-
app/build/reports/androidTests/
\ No newline at end of file
编写
预览
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论