提交 0462841a 创建 作者: 宋海霞's avatar 宋海霞

更新 .gitlab-ci.yml

上级 d454dace
流水线 #118701 已失败 于阶段
用时 11 秒
...@@ -23,9 +23,16 @@ before_script: ...@@ -23,9 +23,16 @@ before_script:
stages: stages:
- build - build
- test - test
.codecode-runner: &codecode-runner
tags:
- ubuntu-16.04
- short-job
build: build:
stage: build stage: build
<<: *codecode-runner
script: script:
- ./gradlew assembleDebug - ./gradlew assembleDebug
artifacts: artifacts:
...@@ -34,11 +41,13 @@ build: ...@@ -34,11 +41,13 @@ build:
unitTests: unitTests:
stage: test stage: test
<<: *codecode-runner
script: script:
- ./gradlew test - ./gradlew test
functionalTests: functionalTests:
stage: test stage: test
<<: *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
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论