-
Notifications
You must be signed in to change notification settings - Fork 43
/
.gitlab-ci.yml
66 lines (57 loc) · 976 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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