Skip to content

Commit 0821624

Browse files
committed
dep: init deps with dep tool
1 parent 71a1fe3 commit 0821624

File tree

5 files changed

+354
-7
lines changed

5 files changed

+354
-7
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
language: go
22
sudo: false
33
go:
4-
- 1.8.3
5-
- 1.9
4+
- 1.9.1
65
install:
7-
- go get -d -v -t ./...
6+
- go get -u -v github.com/golang/dep/cmd/dep
7+
- $GOPATH/bin/dep ensure -vendor-only -v
88
script:
99
- export GOMAXPROCS=$(nproc)
1010
- make test

Gopkg.lock

Lines changed: 253 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
# Gopkg.toml example
2+
#
3+
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
4+
# for detailed Gopkg.toml documentation.
5+
#
6+
# required = ["github.com/user/thing/cmd/thing"]
7+
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
8+
#
9+
# [[constraint]]
10+
# name = "github.com/user/project"
11+
# version = "1.0.0"
12+
#
13+
# [[constraint]]
14+
# name = "github.com/user/project2"
15+
# branch = "dev"
16+
# source = "github.com/myfork/project2"
17+
#
18+
# [[override]]
19+
# name = "github.com/x/y"
20+
# version = "2.4.0"
21+
22+
23+
[[constraint]]
24+
name = "github.com/cenkalti/backoff"
25+
version = "1.1.0"
26+
27+
[[constraint]]
28+
name = "github.com/coreos/etcd"
29+
version = "3.3.0-rc.1"
30+
31+
[[constraint]]
32+
name = "github.com/dgrijalva/jwt-go"
33+
version = "3.1.0"
34+
35+
[[constraint]]
36+
name = "github.com/fatih/color"
37+
version = "1.5.0"
38+
39+
[[constraint]]
40+
name = "github.com/gorilla/mux"
41+
version = "1.6.0"
42+
43+
[[constraint]]
44+
name = "github.com/gorilla/websocket"
45+
version = "1.2.0"
46+
47+
[[constraint]]
48+
branch = "master"
49+
name = "github.com/hashicorp/go-version"
50+
51+
[[constraint]]
52+
name = "github.com/igm/sockjs-go"
53+
revision = "c8a8c6429d10e3b6865960ad8cb43779b8a834ef"
54+
55+
[[constraint]]
56+
branch = "master"
57+
name = "github.com/juju/ratelimit"
58+
59+
[[constraint]]
60+
branch = "master"
61+
name = "github.com/koding/cache"
62+
63+
[[constraint]]
64+
branch = "master"
65+
name = "github.com/koding/logging"
66+
67+
[[constraint]]
68+
branch = "master"
69+
name = "github.com/koding/multiconfig"
70+
71+
[[constraint]]
72+
branch = "master"
73+
name = "github.com/koding/websocketproxy"
74+
75+
[[constraint]]
76+
name = "github.com/lann/squirrel"
77+
version = "1.0.0"
78+
79+
[[constraint]]
80+
branch = "master"
81+
name = "github.com/lib/pq"
82+
83+
[[constraint]]
84+
branch = "master"
85+
name = "github.com/mitchellh/cli"
86+
87+
[[constraint]]
88+
name = "github.com/satori/go.uuid"
89+
version = "1.1.0"
90+
91+
[[constraint]]
92+
branch = "master"
93+
name = "golang.org/x/crypto"

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ endif
139139

140140
@echo "Creating test key"
141141
@`which go` run ./testutil/writekey/main.go
142-
143-
@echo "$(OK_COLOR)==> Downloading dependencies$(NO_COLOR)"
142+
143+
@echo "$(OK_COLOR)==> Downloading test dependencies$(NO_COLOR)"
144144
@`which go` get -d -v -t ./...
145145

146146
@echo "$(OK_COLOR)==> Testing packages $(NO_COLOR)"

appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ clone_folder: c:\projects\src\github.com\koding\kite
77
environment:
88
PATH: c:\projects\bin;%PATH%
99
GOPATH: c:\projects
10-
GOVERSION: 1.8
10+
GOVERSION: 1.9.1
1111

1212
install:
1313
- go version
@@ -17,7 +17,8 @@ install:
1717
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.zip
1818
- 7z x go%GOVERSION%.windows-amd64.zip -y -oC:\ > NUL
1919

20-
- go get -v -t ./...
20+
- go get -u -v github.com/golang/dep/cmd/dep
21+
- dep ensure -vendor-only -v
2122

2223
build_script:
2324
- go build ./...

0 commit comments

Comments
 (0)