File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed
Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 1- ---
1+ language : go
2+ sudo : false
23env :
34 matrix :
45 secure : |-
78 3x5xrMxWWeUx+jp5KauktA2T8kUrOuaebcef+8dSGE10a0E1WhA=
89notifications :
910 email : false
10- script : make build && make test
11+ install :
12+ - make build_dep
13+ script :
14+ - make build
15+ - make check
16+ - make test
17+ notifications :
18+ email : false
Original file line number Diff line number Diff line change @@ -20,3 +20,16 @@ test_release:
2020
2121release :
2222 goreleaser --rm-dist
23+
24+ # Get the build dependencies
25+ build_dep :
26+ go get -u github.com/kisielk/errcheck
27+ go get -u golang.org/x/tools/cmd/goimports
28+ go get -u github.com/golang/lint/golint
29+
30+ # Do source code quality checks
31+ check :
32+ go vet
33+ errcheck
34+ goimports -d . | grep . ; test $$? -eq 1
35+ -#golint
You can’t perform that action at this time.
0 commit comments