From 07f8c84fb1d622c1173376f211d7a44160254553 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Mon, 23 Jan 2017 12:40:52 -0600 Subject: [PATCH] TravisCI: Use release version of glide. 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. --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 252a76b9..465787cd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,10 @@ go: - 1.7.x sudo: false install: - - go get -v github.com/Masterminds/glide + - 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