Skip to content

Commit ff4934b

Browse files
author
Roman Levin
committed
Install dep in Travis CI
1 parent f593dd5 commit ff4934b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1+
env:
2+
- DEP_VERSION="0.4.1"
13
language: go
24
go:
35
- 1.x
6+
7+
before_install:
8+
# Download the binary to bin folder in $GOPATH
9+
- curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep
10+
# Make the binary executable
11+
- chmod +x $GOPATH/bin/dep
12+
413
install: make deps
514
script: make test

0 commit comments

Comments
 (0)