1 files changed, 20 insertions(+), 0 deletions(-)
A .build.yml
A .build.yml => .build.yml +20 -0
@@ 0,0 1,20 @@
+image: archlinux
+packages:
+ - go
+ - staticcheck
+sources:
+ - https://git.xenrox.net/~xenrox/twitch-bot
+tasks:
+ - test: |
+ cd twitch-bot
+ go test -v ./...
+ - lint: |
+ cd twitch-bot
+ go vet ./...
+ staticcheck ./...
+ - build: |
+ cd twitch-bot
+ go build
+ - gofmt: |
+ cd twitch-bot
+ test -z $(gofmt -l .)