blob: 38968bce67ef6b2b8ad7893ceeb2deb67957a440 [file] [log] [blame]
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001language: go
2
3go:
mpagenkobb47bc22021-04-20 13:29:09 +00004 - "1.13"
Holger Hildebrandtfa074992020-03-27 15:42:06 +00005
6services:
7 - docker
8
9cache:
10 directories:
11 - ${GOPATH}/pkg/mod
12
13jobs:
14 include:
15 - stage: test
16 if: type == pull_request
17 script: make test
18 env:
19 - GO111MODULE=on
20
21 - stage: test_and_cover
22 name: "Test (with coverage)"
23 if: type != pull_request
24 script: make cover publish_cover
25 env:
26 - GO111MODULE=on