File: .gitlab-ci.yml

package info (click to toggle)
golang-gitaly-proto 1.37.0%2Bdfsg-1~bpo10%2B1
  • links: PTS, VCS
  • area: main
  • in suites: buster-backports
  • size: 372 kB
  • sloc: ruby: 216; makefile: 93
file content (53 lines) | stat: -rw-r--r-- 812 bytes parent folder | download | duplicates (2)
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
image: golang:1.11

cache:
  paths:
    - .go/pkg/mod/

variables:
  GOPATH: $CI_PROJECT_DIR/.go

before_script:
  - apt-get update -qq
  - apt-get install -qq -y rubygems bundler unzip
  - mkdir -p .go

cache:
  key: go-mod-cache
  paths:
    - ${GOPATH}/pkg/mod

test:
  script:
    - make test

build:
  script:
    - make

check-grpc-proto-clients:
  script:
    - "# Check for the mistake of updating .proto files but not regenerating clients"
    - make check-grpc-proto-clients

pages:
  script:
    - make docs
  artifacts:
    paths:
    - public
  only:
  - master

danger-review:
  image: registry.gitlab.com/gitlab-org/gitlab-build-images:danger
  before_script: []
  cache: {}
  only:
    - branches@gitlab-org/gitaly-proto
  except:
    - tags
    - master
  script:
    - git version
    - danger