~rbn/litmus

20d4d42103d5bdf64cf9007fd2d2d2925285bb46 — Ruben Schuller 8 months ago fde7037
add .build.yml
1 files changed, 28 insertions(+), 0 deletions(-)

A .build.yml
A .build.yml => .build.yml +28 -0
@@ 0,0 1,28 @@
arch: null
environment: null
image: archlinux
packages:
- go
repositories: null
secrets: null
sources:
- https://git.sr.ht/~rbn/litmus
tasks:
- vet: 'cd litmus

    go vet'
- lint: 'go get -u golang.org/x/lint/golint

    cd litmus

    ~/go/bin/golint'
- test: 'cd litmus

    go test -v -coverprofile=cover.out ./...

    go tool cover -func=cover.out'
triggers:
- action: email
  condition: failure
  to: code@rbn.im