-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
56 lines (46 loc) · 802 Bytes
/
.gitlab-ci.yml
File metadata and controls
56 lines (46 loc) · 802 Bytes
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
mage: golang:1.17.5
cache:
paths:
- /apt-cache
- /go/src/github.com
- /go/src/golang.org
- /go/src/google.golang.org
- /go/src/gopkg.in
stages:
- test
- build
before_script:
- mkdir -p /go/src/github.com/sjmudd /go/src/_/builds
- cp -r $CI_PROJECT_DIR /go/src/github.som/sjmudd/ps-top
- ln -s /go/src/github.com/sjmudd /go/src/_/builds/sjmudd
- make dep
unit_tests:
stage: test
script:
- make test
race_detector:
stage: test
script:
- make race
memory_sanitizer:
stage: test
script:
- make msan
code_coverage:
stage: test
script:
- make coverage
code_coverage_report:
stage: test
script:
- make coverhtml
only:
- master
lint_code:
stage: test
script:
- make lint
build:
stage: build
script:
- make