scripts for buildkite
This commit is contained in:
parent
ee4e7cf773
commit
feb1af9686
2 changed files with 17 additions and 0 deletions
7
.buildkite/build-and-test.sh
Executable file
7
.buildkite/build-and-test.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
cd `dirname $0`/..
|
||||||
|
|
||||||
|
go build
|
||||||
|
go test
|
10
.buildkite/lint.sh
Executable file
10
.buildkite/lint.sh
Executable 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
|
Reference in a new issue