18 lines
496 B
YAML
18 lines
496 B
YAML
language: go
|
|
go:
|
|
- 1.13.x
|
|
env:
|
|
- GO111MODULE=on IN_TRAVIS_CI=yes
|
|
before_script:
|
|
- go install github.com/golangci/golangci-lint/cmd/golangci-lint
|
|
script:
|
|
- golangci-lint run || true
|
|
- go test -v -race ./... || true
|
|
- go test -v ./...
|
|
notifications:
|
|
slack:
|
|
secure: aEvhLbhujaGaKSrOokiG3//PaVHTIrc3fBpoRbCRqfZpyq6WREoapJJhF+tIpWWOwaC9GmChbD6aHo/jMUgwKXVyPSaNjiEL87YzUUpL8B2zslNp1rgfTg/LrzthOx3Q1TYwpaAl3to0fuHUVFX4yMeC2vuThq7WSXgMMxFCtbc=
|
|
cache:
|
|
directories:
|
|
- $GOPATH/pkg/mod
|