blob: b9b0edae5db8bba48a6896bcbe0ab86a6ffddba9 [file] [log] [blame]
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001language: go
2
3go:
4 - "1.11"
5
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