From 2e50d0e4febb4a3face1d6f713d33a0285c8d736 Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Tue, 27 Mar 2018 13:27:32 -0700 Subject: [PATCH] Verify hash --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 220f8b695bc0..0e2a4868b3e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ go: env: global: - DEP_VERSION="0.4.1" + - DEP_SHA=31144e465e52ffbc0035248a10ddea61a09bf28b00784fd3fdd9882c8cbb2315 matrix: - MODE=default - MODE=breaking @@ -27,7 +28,7 @@ matrix: - go: master before_install: - - curl -L -o $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v$DEP_VERSION/dep-linux-amd64 && chmod +x $GOPATH/bin/dep + - curl -fL -o $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v$DEP_VERSION/dep-linux-amd64 && echo "$DEP_SHA $GOPATH/bin/dep" | sha256sum -c - && chmod +x $GOPATH/bin/dep install: - go get -u github.com/golang/lint/golint