File: .build.yml

package info (click to toggle)
golang-github-emersion-go-maildir 0.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 112 kB
  • sloc: makefile: 2
file content (17 lines) | stat: -rw-r--r-- 380 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
image: alpine/latest
packages:
  - go
sources:
  - https://github.com/emersion/go-maildir
artifacts:
  - coverage.html
tasks:
  - build: |
      cd go-maildir
      go build -v ./...
  - test: |
      cd go-maildir
      go test -race -coverprofile=coverage.txt -covermode=atomic ./...
  - coverage: |
      cd go-maildir
      go tool cover -html=coverage.txt -o ~/coverage.html