ci: fix dep installation
This commit is contained in:
parent
c659431ddc
commit
c27c8b2f46
@ -9,8 +9,8 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Install Dependencies
|
name: Install Dependencies
|
||||||
command: |
|
command: |
|
||||||
curl -fsSL -o /usr/local/bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64
|
curl -sL -o $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64
|
||||||
chmod +x /usr/local/bin/dep
|
chmod +x $GOPATH/bin/dep
|
||||||
dep ensure -v
|
dep ensure -v
|
||||||
go get github.com/alecthomas/gometalinter
|
go get github.com/alecthomas/gometalinter
|
||||||
gometalinter --install
|
gometalinter --install
|
||||||
@ -34,8 +34,8 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Install Dependencies
|
name: Install Dependencies
|
||||||
command: |
|
command: |
|
||||||
curl -fsSL -o /usr/local/bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64
|
curl -sL -o $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64
|
||||||
chmod +x /usr/local/bin/dep
|
chmod +x $GOPATH/bin/dep
|
||||||
dep ensure -v
|
dep ensure -v
|
||||||
cd cmd/filebrowser
|
cd cmd/filebrowser
|
||||||
- run:
|
- run:
|
||||||
@ -50,8 +50,8 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Install Dependencies
|
name: Install Dependencies
|
||||||
command: |
|
command: |
|
||||||
curl -fsSL -o /usr/local/bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64
|
curl -sL -o $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64
|
||||||
chmod +x /usr/local/bin/dep
|
chmod +x $GOPATH/bin/dep
|
||||||
dep ensure -v
|
dep ensure -v
|
||||||
- run:
|
- run:
|
||||||
name: Deploy
|
name: Deploy
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user