blob: 46854b91e1f16bb1316437380f8609f717208c87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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
|