~rbn/packagetools

10e639cc91c5b6daf3e6f91a1f0aefc2583fcd8e — Ruben Schuller 4 months ago ca8c917
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/packagetools
tasks:
- vet: 'cd packagetools

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

    cd packagetools

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

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

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