builder/.drone.yml
Lunny Xiao 3d9727569d
All checks were successful
continuous-integration/drone/push Build is passing
Fix CI (#87)
Reviewed-on: #87
2022-05-31 09:54:58 +08:00

21 lines
364 B
YAML

---
kind: pipeline
name: testing
trigger:
ref:
- refs/heads/master
- refs/pull/*/head
steps:
- name: test
pull: default
image: golang:1.11
commands:
- go get -u golang.org/x/lint/golint
- golint ./...
- go vet
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
environment:
GOPROXY: https://goproxy.io
GO111MODULE: "on"