scripts for buildkite

This commit is contained in:
Richard van der Hoff 2020-06-04 12:15:47 +01:00
parent ee4e7cf773
commit feb1af9686
2 changed files with 17 additions and 0 deletions

7
.buildkite/build-and-test.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
set -e
cd `dirname $0`/..
go build
go test

10
.buildkite/lint.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
set -e
cd `dirname $0`/..
go get golang.org/x/lint/golint
go get github.com/fzipp/gocyclo
exec ./hooks/pre-commit