From 2acb2bb373d398b88f712c9cc78db642c3a5b9fc Mon Sep 17 00:00:00 2001 From: Andrey Samokhvalov Date: Wed, 21 Jun 2017 17:12:53 +0300 Subject: [PATCH] travis: use glide install of btcd In order to have more stable builds we should use use glide install directly, instead of "go get". --- .travis.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 73828b6b..c8a3e08d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,18 @@ go: - 1.8.3 sudo: false install: - - go get -v github.com/roasbeef/btcd # Required for the rpc test package. + - 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/ + - mkdir -p $GOPATH/src/github.com/roasbeef/ + - pushd $GOPATH/src/github.com/roasbeef/ + - git clone https://github.com/roasbeef/btcd + - pushd btcd + - glide install + - go install . ./cmd/... + - popd + - popd script: - export PATH=$PATH:$HOME/gopath/bin - ./gotest.sh -l -r -c