mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-19 18:00:11 +01:00
07f8c84fb1
This modifies the .travis.yml file to install a release version of glide instead of using its latest master branch. This will prevent upstream changes from inadvertently breaking the CI builds.
18 lines
467 B
YAML
18 lines
467 B
YAML
language: go
|
|
go:
|
|
- 1.6.x
|
|
- 1.7.x
|
|
sudo: false
|
|
install:
|
|
- GLIDE_TAG=v0.12.3
|
|
- GLIDE_DOWNLOAD="https://github.com/Masterminds/glide/releases/download/$GLIDE_TAG/glide-$GLIDE_TAG-linux-amd64.tar.gz"
|
|
- curl -L $GLIDE_DOWNLOAD | tar -xvz
|
|
- export PATH=$PATH:$PWD/linux-amd64/
|
|
- glide install
|
|
- go install . ./cmd/...
|
|
- go get -v github.com/alecthomas/gometalinter
|
|
- gometalinter --install
|
|
script:
|
|
- export PATH=$PATH:$HOME/gopath/bin
|
|
- ./goclean.sh
|