mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-19 18:00:11 +01:00
20 lines
448 B
YAML
20 lines
448 B
YAML
language: go
|
|
cache:
|
|
directories:
|
|
- $GOCACHE
|
|
- $GOPATH
|
|
- $GOPATH/pkg/mod
|
|
- $GOPATH/github.com/golang
|
|
- $GOPATH/gopkg.in/alecthomas
|
|
go:
|
|
- "1.11.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
|