getimap/vendor/github.com/emersion/go-message/.build.yml
2020-03-10 13:57:28 +01:00

20 lines
448 B
YAML

image: alpine/edge
packages:
- go
# Required by codecov
- bash
- findutils
sources:
- https://github.com/emersion/go-message
tasks:
- build: |
cd go-message
go build -v ./...
- test: |
cd go-message
go test -coverprofile=coverage.txt -covermode=atomic ./...
- upload-coverage: |
cd go-message
export CODECOV_TOKEN=aa72bd72-88cd-4bc7-aaa8-a3206d058935
curl -s https://codecov.io/bash | bash