sum7
/
yaja
Archived
1
0
Fork 0
This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
yaja/.drone.yml

27 lines
666 B
YAML
Raw Permalink Normal View History

2017-10-01 23:30:48 +02:00
workspace:
base: /go
2018-02-07 15:34:18 +01:00
path: src/dev.sum7.eu/genofire/yaja
2017-10-01 23:30:48 +02:00
pipeline:
build:
image: golang:latest
commands:
- go get ./...
- go build
2018-04-18 14:24:28 +02:00
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
2017-10-01 23:30:48 +02:00
test:
image: golang:latest
commands:
- go get github.com/stretchr/testify/assert
- go test ./... -v -cover
2018-04-18 14:24:28 +02:00
test-race:
image: golang:latest
commands:
- go get github.com/stretchr/testify/assert
- go test ./... -v -race