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

更新 .gitlab-ci.yml

上级 da48e638
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
image: "registry.cn-hangzhou.aliyuncs.com/engintime/ubuntu_16.04_program:latest" image: "registry.cn-hangzhou.aliyuncs.com/engintime/ubuntu_16.04_program:latest"
stages: stages:
- case - case1
- code-analysis - code-analysis
...@@ -23,10 +23,8 @@ variables: ...@@ -23,10 +23,8 @@ variables:
- code-analysis - code-analysis
- intranet - intranet
case1: case1:
stage: case stage: case1
<<: *codecode-runner <<: *codecode-runner
script: script:
- python3 test.py ci - python3 test.py ci
...@@ -34,14 +32,14 @@ case1: ...@@ -34,14 +32,14 @@ case1:
- master - master
teacher-check1: teacher-check1:
stage: case stage: case1
<<: *codecode-runner <<: *codecode-runner
script: script:
- make - make
- count=$(find . -name "input*.txt" | wc -l) - count=$(find . -name "input*.txt" | wc -l)
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template - git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i --suppress-common-lines - diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i --suppress-common-lines
- diff template/local_test.py local_test.py -b -B -y -i --suppress-common-lines - diff template/test.py test.py -b -B -y -i --suppress-common-lines
- for i in $(seq 1 1 $count); - for i in $(seq 1 1 $count);
do do
./app.exe < input${i}.txt > /dev/null; ./app.exe < input${i}.txt > /dev/null;
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论