suggester/.drone.yml
Lunny Xiao 9513ab03a2
All checks were successful
continuous-integration/drone/push Build is passing
fix tests
2019-06-26 17:00:38 +08:00

24 lines
423 B
YAML

workspace:
base: /go
path: src/gitea.com/lunny/suggester
clone:
git:
image: plugins/git:next
depth: 50
tags: true
matrix:
GO_VERSION:
- 1.11
- 1.12
pipeline:
test:
image: golang:${GO_VERSION}
commands:
- go get -t -d -v ./...
- go build -v -o suggest-cli
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
when:
event: [ push, pull_request ]