chapinyin/.drone.yml
Lunny Xiao d946f27042
All checks were successful
continuous-integration/drone/push Build is passing
update README and drone
2019-06-26 16:24:32 +08:00

24 lines
408 B
YAML

workspace:
base: /go
path: src/gitea.com/lunny/chapinyin
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
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
when:
event: [ push, pull_request ]