add circle
This commit is contained in:
parent
f9c4de6dc5
commit
1e35bdce14
20
circle.yml
Normal file
20
circle.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
version: 2
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
docker:
|
||||||
|
- image: circleci/golang:1.9
|
||||||
|
|
||||||
|
working_directory: /go/src/github.com/filebrowser/filebrowser
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: Install Dependencies
|
||||||
|
run: |
|
||||||
|
go get ./...
|
||||||
|
go get github.com/alecthomas/gometalinter
|
||||||
|
/go/bin/gometalinter --install
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Run linting
|
||||||
|
command: gometalinter --disable-all -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --exclude="rice-box.go" --tests ./...
|
||||||
Loading…
Reference in New Issue
Block a user