~samwhited/xmpp

4b20aa3f5ad24d7971d636e97972a36eb1af9ffd — Sam Whited 5 years ago 9013c0e
Add go vet to CI

And move CI invocations into Makefile
2 files changed, 9 insertions(+), 3 deletions(-)

M Makefile
M bitbucket-pipelines.yml
M Makefile => Makefile +8 -0
@@ 8,6 8,14 @@ test:
bench:
	go test -cover -bench . -benchmem -run 'Benchmark.*' $(PACKAGES)

.PHONEY: vet
vet:
	go vet $(PACKAGES)

.PHONEY: ci
ci: test bench vet
	go build -race

deps.svg: *.go
	(   echo "digraph G {"; \
	go list -f '{{range .Imports}}{{printf "\t%q -> %q;\n" $$.ImportPath .}}{{end}}' \

M bitbucket-pipelines.yml => bitbucket-pipelines.yml +1 -3
@@ 7,6 7,4 @@ pipelines:
          - ln -s "`pwd`" "$GOPATH/src/mellium.im/xmpp"
          - cd "$GOPATH/src/mellium.im/xmpp"
          - go-wrapper download
          - go build -race
          - make test
          - make bench
          - make ci