File tree Expand file tree Collapse file tree 4 files changed +151
-1
lines changed Expand file tree Collapse file tree 4 files changed +151
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,16 @@ language: go
16
16
go :
17
17
- stable
18
18
19
+ env :
20
+ - DEP_VERSION="0.4.1"
21
+
22
+ before_install :
23
+ # Install Go Dep
24
+ - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
25
+
26
+ install :
27
+ - dep ensure
28
+
19
29
before_deploy :
20
30
# Create binaries for many OSs and architures as tarballs.
21
31
# the -osarch="!a/b !c/d" option is used to exclude OS-arch pairs
Original file line number Diff line number Diff line change
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
+ # [prune]
23
+ # non-go = false
24
+ # go-tests = true
25
+ # unused-packages = true
26
+
27
+
28
+ [[constraint ]]
29
+ name = " github.com/docker/machine"
30
+ version = " 0.15.0"
31
+
32
+ [[constraint ]]
33
+ name = " github.com/hetznercloud/hcloud-go"
34
+ version = " 1.7.0"
35
+
36
+ [[constraint ]]
37
+ name = " github.com/pkg/errors"
38
+ version = " 0.8.0"
39
+
40
+ [[constraint ]]
41
+ branch = " master"
42
+ name = " golang.org/x/crypto"
43
+
44
+ [prune ]
45
+ go-tests = true
46
+ unused-packages = true
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ was used during creation.
133
133
134
134
## Building from source
135
135
136
- Use an up-to-date version of [ Go] ( https://golang.org/dl )
136
+ Use an up-to-date version of [ Go] ( https://golang.org/dl ) and [ dep ] ( https://github.com/golang/dep )
137
137
138
138
To use the driver, you can download the sources and build it locally:
139
139
@@ -145,6 +145,10 @@ $ go get github.com/jonasprogrammer/docker-machine-driver-hetzner
145
145
$ export GOPATH=$( go env GOPATH)
146
146
$ export GOBIN=$GOPATH /bin
147
147
$ export PATH=" $PATH :$GOBIN "
148
+ $ cd $GOPATH /src/jonasprogrammer/docker-machine-driver-hetzner
149
+ $ dep ensure
150
+ $ go build -o docker-machine-driver-hetzner
151
+ $ cp docker-machine-driver-hetzner /usr/local/bin/docker-machine-driver-hetzner
148
152
```
149
153
150
154
## Development
You can’t perform that action at this time.
0 commit comments