language: go | |
go: | |
- "1.13" | |
env: | |
- GO111MODULE=on | |
script: | |
- go fmt ./... && [[ -z `git status -s` ]] | |
- go mod vendor && go test $(go list ./... | grep -v vendor | grep -v demo) -coverprofile=coverage.txt -covermode=atomic | |
after_success: | |
- bash <(curl -s https://codecov.io/bash) | |
notifications: | |
webhooks: https://oapi.dingtalk.com/robot/send?access_token=75f4f1ec3868508aa89e5a5d6f9d342216809df3ebc8a78c8ae8722848e06166 |