Skip to content

Commit

Permalink
Use binary release of dep (#1447)
Browse files Browse the repository at this point in the history
* Use binary release of dep

* Verify hash
  • Loading branch information
jhendrixMSFT authored Mar 27, 2018
1 parent 35db507 commit 35fb452
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ go:
- master

env:
global:
- DEP_VERSION="0.4.1"
- DEP_SHA=31144e465e52ffbc0035248a10ddea61a09bf28b00784fd3fdd9882c8cbb2315
matrix:
- MODE=default
- MODE=breaking
Expand All @@ -24,9 +27,11 @@ matrix:
- env: MODE=breaking
- go: master

before_install:
- 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
- go get -u github.com/golang/dep/cmd/dep
- dep ensure

script:
Expand Down

0 comments on commit 35fb452

Please sign in to comment.