Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
.gitlab-ci.yml 976 Bytes
Copy Edit Web IDE Raw Blame History
root authored 2019-04-22 02:59 . init
variables:
CI_SERVER_URL: http://git.bilibili.co
# CI_DEBUG_TRACE: "true"
stages:
- COMPILE
- LINT
- TEST
compile part:
stage: COMPILE
script:
- bash .rider/make_update.sh
- bazel info
- pwd
- bash .rider/bazel_build.sh "part"
only:
- branches
retry: 1
compile(merge master):
stage: COMPILE
script:
- git pull origin master
- bash .rider/make_update.sh
- bazel info
- pwd
- bash .rider/bazel_build.sh
only:
- branches
retry: 1
gometalinter:
stage: LINT
allow_failure: true
script:
- echo "gometalinter"
- pwd
- bash .rider/lint.sh
only:
- branches
saga check:
stage: LINT
allow_failure: false
script:
- echo "saga check"
- pwd
- bash .rider/sagacheck.sh
except:
- master
unit test:
stage: TEST
# allow_failure: true
script:
- echo "go unit test run"
- pwd
- bash .rider/unit_test.sh
only:
- branches
tags:
- uat-unittest

Comment ( 0 )

Sign in for post a comment