From a2ad7a51ba1510cd8eb1d926034aed9e6bbb35c1 Mon Sep 17 00:00:00 2001 From: Wilmer Paulino Date: Sun, 4 Mar 2018 15:51:29 -0500 Subject: [PATCH] travis: retrieve btcd version from dep's manifest file --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 65c9dc69..91104226 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ install: - 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/ - - BTCD_VERSION=$(cat glide.yaml | grep -A1 btcd | tail -n1 | awk '{ print $2}') + - BTCD_VERSION=$(cat Gopkg.toml | grep -A1 btcd | tail -n1 | awk '{ print $3 }' | tr -d '"') - mkdir -p $GOPATH/src/github.com/roasbeef/ - pushd $GOPATH/src/github.com/roasbeef/ - git clone https://github.com/roasbeef/btcd