Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
architecture-sample
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
问题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
银宸大学计算机学院
教师群组
宋海霞-shx
androidTest
architecture-sample
提交
38bc52fb
提交
38bc52fb
8月 25, 2020
创建
作者:
宋海霞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新 .gitlab-ci.yml
上级
daf2cbca
流水线
#119156
已取消 于阶段
变更
1
流水线
1
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
+4
-4
.gitlab-ci.yml
.gitlab-ci.yml
+4
-4
没有找到文件。
.gitlab-ci.yml
浏览文件 @
38bc52fb
...
@@ -9,7 +9,7 @@ variables:
...
@@ -9,7 +9,7 @@ variables:
before_script
:
before_script
:
-
chmod +x ./gradlew
-
chmod +x ./gradlew
-
chmod +x
.
/android-wait-for-emulator.sh
-
chmod +x /android-wait-for-emulator.sh
stages
:
stages
:
-
build
-
build
...
@@ -30,7 +30,7 @@ build:
...
@@ -30,7 +30,7 @@ build:
-
./gradlew assembleDebug
-
./gradlew assembleDebug
-
avdmanager --verbose create avd --force --name "test" --device "pixel" --package "system-images;android-30;google_apis;x86" > /dev/null
-
avdmanager --verbose create avd --force --name "test" --device "pixel" --package "system-images;android-30;google_apis;x86" > /dev/null
-
emulator -memory 4096 -timezone Asia/Shang_Hai -avd "test" -no-boot-anim -no-window -gpu swiftshader_indirect -accel on -noaudio -no-snapshot-save -dns-server 8.8.8.8,8.8.4.4 -netfast -nojni &
-
emulator -memory 4096 -timezone Asia/Shang_Hai -avd "test" -no-boot-anim -no-window -gpu swiftshader_indirect -accel on -noaudio -no-snapshot-save -dns-server 8.8.8.8,8.8.4.4 -netfast -nojni &
-
.
/android-wait-for-emulator.sh 20
-
/android-wait-for-emulator.sh 20
-
adb shell am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGS
-
adb shell am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGS
-
sleep 3; adb shell input keyevent 22
-
sleep 3; adb shell input keyevent 22
-
sleep 3; adb shell input keyevent 22
-
sleep 3; adb shell input keyevent 22
...
@@ -40,9 +40,9 @@ build:
...
@@ -40,9 +40,9 @@ build:
# - sleep 3; adb shell input keyevent 22
# - sleep 3; adb shell input keyevent 22
# - sleep 3; adb shell input keyevent 66
# - sleep 3; adb shell input keyevent 66
# - sleep 30s
# - sleep 30s
-
./gradlew cAT
#
- ./gradlew cAT
# - echo "score 60"
# - echo "score 60"
# - ./gradlew app:connectedAndroidTest -P android.testInstrumentationRunnerArguments.class=com.example.mysecondapp.ExampleKotlinTest#useEspresso
Test --offline
-
./gradlew app:connectedAndroidTest -P android.testInstrumentationRunnerArguments.class=com.example.android.architecture.blueprints.todoapp.tasks.AppNavigation
Test --offline
# - echo "score 100"
# - echo "score 100"
# - ./gradlew app:connectedAndroidTest -P android.testInstrumentationRunnerArguments.class=com.example.mysecondapp.ExampleInstrumentedTest#useAppContext --offline
# - ./gradlew app:connectedAndroidTest -P android.testInstrumentationRunnerArguments.class=com.example.mysecondapp.ExampleInstrumentedTest#useAppContext --offline
...
...
编写
预览
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论