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