Skip to content

Commit

Permalink
add drone
Browse files Browse the repository at this point in the history
  • Loading branch information
genofire committed Apr 18, 2018
1 parent 1a4b078 commit d182a58
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .drone.yml
@@ -0,0 +1,27 @@
workspace:
base: /go
path: src/github.com/FreifunkBremen/yanic

pipeline:
build:
image: golang:latest
commands:
- go get ./...
- go build
codestyle:
image: golang:latest
commands:
- go get github.com/client9/misspell/cmd/misspell
- misspell -error .
- if [ -n "$(gofmt -s -l .)" ]; then echo "Go code is not formatted, run 'gofmt -s -w .'" >&2; exit 1; fi
test:
image: golang:latest
commands:
- go get github.com/stretchr/testify/assert
- go test ./... -v -cover
test-race:
image: golang:latest
commands:
- go get github.com/stretchr/testify/assert
- go test ./... -v -race

0 comments on commit d182a58

Please sign in to comment.