.travis.yml raw
1 language: go
2
3 go:
4 - 1.13.x
5 - 1.x
6
7 env:
8 - GO111MODULE=on
9
10 notifications:
11 email:
12 on_success: never
13 on_failure: change
14
15 before_install:
16 # Install linters and misspell
17 - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.22.2
18 - golangci-lint --version
19
20 install:
21 - go mod tidy
22 - git diff --exit-code go.mod
23 - git diff --exit-code go.sum
24 - go mod download
25