File: .build.yml

package info (click to toggle)
golang-github-emersion-go-milter 0.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 176 kB
  • sloc: makefile: 3
file content (19 lines) | stat: -rw-r--r-- 444 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
image: alpine/edge
packages:
  - go
  # Required by codecov
  - bash
  - findutils
sources:
  - https://github.com/emersion/go-milter
tasks:
  - build: |
      cd go-milter
      go build -v ./...
  - test: |
      cd go-milter
      go test -coverprofile=coverage.txt -covermode=atomic ./...
  - upload-coverage: |
      cd go-milter
      export CODECOV_TOKEN=8c0f7014-fcfa-4ed9-8972-542eb5958fb3
      curl -s https://codecov.io/bash | bash