提交 684ac24a 创建 作者: 宋海霞's avatar 宋海霞

更新 .gitlab-ci.yml

上级 71918a0e
流水线 #118782 已失败 于阶段
用时 19 分 14 秒
#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:7.0" image: "android-container:7.0"
image: "budtmo/docker-android-x86-11.0" #image: "budtmo/docker-android-x86-11.0"
variables: variables:
ANDROID_COMPILE_SDK: "25" ANDROID_COMPILE_SDK: "25"
...@@ -41,9 +41,10 @@ build: ...@@ -41,9 +41,10 @@ build:
<<: *codecode-runner <<: *codecode-runner
script: script:
- ./gradlew clean assembleDebug - ./gradlew clean assembleDebug
# - echo "no" | avdmanager --verbose create avd --force --name "test" --device "pixel" --package "system-images;android-30;google_apis;x86" - avdmanager --verbose create avd --force --name "test" --device "pixel" --package "system-images;android-30;google_apis;x86"
# - emulator -force-32bit -avd "samsung_galaxy_s6_11.0" -verbose -no-boot-anim -no-window -gpu swiftshader_indirect -accel on & - emulator -avd "test" -verbose -no-boot-anim -no-window -gpu swiftshader_indirect -accel on &
- ./android-wait-for-emulator.sh - ./android-wait-for-emulator.sh
- sleep 10s
# - ./gradlew clean :app:connectedDebugAndroidTest # - ./gradlew clean :app:connectedDebugAndroidTest
# - adb install /builds/engintime-cs/teacher-group/shx/androidTest/MyThirdTest/app/build/outputs/apk/debug/app-debug.apk # - adb install /builds/engintime-cs/teacher-group/shx/androidTest/MyThirdTest/app/build/outputs/apk/debug/app-debug.apk
# - adb shell am instrument -w -r -e debug false -e class 'com.example.mysecondapp.ExampleKotlinTest' com.example.mysecondapp.test/android.support.test.runner.AndroidJUnitRunner # - adb shell am instrument -w -r -e debug false -e class 'com.example.mysecondapp.ExampleKotlinTest' com.example.mysecondapp.test/android.support.test.runner.AndroidJUnitRunner
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论