ci: build cmd instead of root

This commit is contained in:
Equim 2018-02-25 01:48:35 +08:00
parent d636641d14
commit 089837cde3
No known key found for this signature in database
GPG Key ID: 0534B6F897D268E7

View File

@ -37,10 +37,9 @@ jobs:
curl -sL -o $GOPATH/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 $GOPATH/bin/dep chmod +x $GOPATH/bin/dep
dep ensure -v dep ensure -v
cd cmd/filebrowser
- run: - run:
name: Building name: Building
command: go build command: go build github.com/filebrowser/filebrowser/cmd/filebrowser
deploy: deploy:
docker: docker:
- image: circleci/golang:1.10 - image: circleci/golang:1.10