2013-12-09 03:35:56 +01:00
|
|
|
language: go
|
2018-11-30 02:45:59 +01:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $GOCACHE
|
|
|
|
- $GOPATH
|
|
|
|
- $GOPATH/pkg/mod
|
|
|
|
- $GOPATH/github.com/golang
|
|
|
|
- $GOPATH/gopkg.in/alecthomas
|
2013-12-09 04:11:54 +01:00
|
|
|
go:
|
2018-11-30 02:45:59 +01:00
|
|
|
- "1.11.x"
|
2015-01-31 05:08:53 +01:00
|
|
|
sudo: false
|
|
|
|
install:
|
2017-01-23 19:40:52 +01:00
|
|
|
- export PATH=$PATH:$PWD/linux-amd64/
|
2018-11-30 02:45:59 +01:00
|
|
|
- GO111MODULE=on go install . ./cmd/...
|
|
|
|
- GO111MODULE=off go get -u gopkg.in/alecthomas/gometalinter.v2
|
|
|
|
- GO111MODULE=off gometalinter.v2 --install
|
2015-01-31 05:08:53 +01:00
|
|
|
script:
|
|
|
|
- export PATH=$PATH:$HOME/gopath/bin
|
|
|
|
- ./goclean.sh
|