6799104157
$GOPATH caching has led to flaky tests as per #1503 and #1536. The speedup is marginal and while the false negatives are a headache, false positives are potentially dangerous.
18 lines
434 B
YAML
18 lines
434 B
YAML
language: go
|
|
cache:
|
|
directories:
|
|
- $GOCACHE
|
|
- $GOPATH/pkg/mod
|
|
- $GOPATH/github.com/golang
|
|
- $GOPATH/gopkg.in/alecthomas
|
|
go:
|
|
- "1.13.x"
|
|
sudo: false
|
|
install:
|
|
- export PATH=$PATH:$PWD/linux-amd64/
|
|
- GO111MODULE=on go install . ./cmd/...
|
|
- GO111MODULE=off go get -u gopkg.in/alecthomas/gometalinter.v2
|
|
- GO111MODULE=off gometalinter.v2 --install
|
|
script:
|
|
- export PATH=$PATH:$HOME/gopath/bin
|
|
- ./goclean.sh
|