2013-12-08 20:35:56 -06:00
|
|
|
language: go
|
2018-11-29 17:45:59 -08:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $GOCACHE
|
|
|
|
- $GOPATH/pkg/mod
|
|
|
|
- $GOPATH/github.com/golang
|
|
|
|
- $GOPATH/gopkg.in/alecthomas
|
2013-12-08 22:11:54 -05:00
|
|
|
go:
|
2019-09-25 18:43:43 -07:00
|
|
|
- "1.13.x"
|
2015-01-30 22:08:53 -06:00
|
|
|
sudo: false
|
|
|
|
install:
|
2017-01-23 12:40:52 -06:00
|
|
|
- export PATH=$PATH:$PWD/linux-amd64/
|
2018-11-29 17:45:59 -08:00
|
|
|
- GO111MODULE=on go install . ./cmd/...
|
|
|
|
- GO111MODULE=off go get -u gopkg.in/alecthomas/gometalinter.v2
|
|
|
|
- GO111MODULE=off gometalinter.v2 --install
|
2015-01-30 22:08:53 -06:00
|
|
|
script:
|
|
|
|
- export PATH=$PATH:$HOME/gopath/bin
|
|
|
|
- ./goclean.sh
|