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

20 lines
436 B
YAML

image: alpine/edge
packages:
- go
# Required by codecov
- bash
- findutils
sources:
- https://github.com/emersion/go-imap
tasks:
- build: |
cd go-imap
go build -v ./...
- test: |
cd go-imap
go test -coverprofile=coverage.txt -covermode=atomic ./...
- upload-coverage: |
cd go-imap
export CODECOV_TOKEN=8c0f7014-fcfa-4ed9-8972-542eb5958fb3
curl -s https://codecov.io/bash | bash