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