2554caee59
This converts the project to allow btcd to be used with the glide package manager in order to provide stable and reproducible builds without the user having to jump through all of the hoops as they do today. It consists of adding a glide.yaml file which identifies the project dependencies and locations along with a glide.lock file which contains the complete dependency tree pinned to specific versions. Glide uses these files to download the packages (or updates) to a local vendor directory and checkout the correct pinned versions. The go tool, in turn, is used to build/install btcd and will use the pinned versions in the vendor directory. This also updates TravisCI to build using glide, removes some of the exceptions in the lint checks which are no longer required, and updates the README.md with the new instructions needed to build the project with glide.
16 lines
341 B
YAML
16 lines
341 B
YAML
language: go
|
|
go:
|
|
- 1.5.4
|
|
- 1.6.1
|
|
sudo: false
|
|
before_install:
|
|
- gotools=golang.org/x/tools
|
|
install:
|
|
- go get -v github.com/Masterminds/glide
|
|
- glide install
|
|
- go get -v $gotools/cmd/cover
|
|
- go get -v github.com/golang/lint/golint
|
|
script:
|
|
- export PATH=$PATH:$HOME/gopath/bin
|
|
- export GO15VENDOREXPERIMENT=1
|
|
- ./goclean.sh
|