golang-lib/.drone.yml

27 lines
675 B
YAML
Raw Normal View History

2018-03-22 22:10:05 +01:00
pipeline:
2018-08-24 01:21:35 +02:00
# Library does not need to build
#build:
# image: golang:latest
# commands:
# - go get -d -t ./...
# - go install
test-coverage:
2018-03-22 22:10:05 +01:00
image: golang:latest
commands:
- go get -u github.com/mattn/goveralls
- go get -u golang.org/x/tools/cmd/cover
2018-08-24 01:21:35 +02:00
- go get -d -t ./...
- ./contrib/ci/check-coverage drone.io
2018-03-22 22:10:05 +01:00
codestyle:
image: golang:latest
commands:
2018-08-24 01:21:35 +02:00
- ./contrib/ci/check-testfiles
- ./contrib/ci/check-gofmt
2018-03-22 22:10:05 +01:00
- go get github.com/client9/misspell/cmd/misspell
- misspell -error .
test-race:
image: golang:latest
commands:
- go get -d -t ./...
2018-08-24 01:21:35 +02:00
- go test -race ./...