Files
go-smtp/.build.yml
T
2021-05-02 12:32:07 +02:00

18 lines
360 B
YAML

image: alpine/edge
packages:
- go
sources:
- https://github.com/emersion/go-smtp
artifacts:
- coverage.html
tasks:
- build: |
cd go-smtp
go build -v ./...
- test: |
cd go-smtp
go test -coverprofile=coverage.txt -covermode=atomic ./...
- coverage: |
cd go-smtp
go tool cover -html=coverage.txt -o ~/coverage.html