You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
976 B
66 lines
976 B
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 |
|
|
|
|
|
|