~samwhited/xmpp

150780b88cc2cdeeb486eaf759f74228254daffa — Sam Whited 5 years ago 841f2d3
Fix make test

Use make test from CI
2 files changed, 4 insertions(+), 4 deletions(-)

M Makefile
M bitbucketci.yml
M Makefile => Makefile +3 -3
@@ 1,10 1,10 @@
.PHONEY: test
test:
	GO15VENDOREXPERIMENT=1 go test $$(go list ./... | grep -v '/vendor/')
	GO15VENDOREXPERIMENT=1 go test -cover $$(GO15VENDOREXPERIMENT=1 go list ./... | grep -v '/vendor/')

deps.svg: *.go
	(   echo "digraph G {"; \
	go list -f '{{range .Imports}}{{printf "\t%q -> %q;\n" $$.ImportPath .}}{{end}}' \
		$$(go list -f '{{join .Deps " "}}' .) .; \
	GO15VENDOREXPERIMENT=1 go list -f '{{range .Imports}}{{printf "\t%q -> %q;\n" $$.ImportPath .}}{{end}}' \
		$$(GO15VENDOREXPERIMENT=1 go list -f '{{join .Deps " "}}' .) .; \
	echo "}"; \
	) | dot -Tsvg -o $@

M bitbucketci.yml => bitbucketci.yml +1 -1
@@ 6,5 6,5 @@ pipeline:
        - ln -s "`pwd`" "$GOPATH/src/bitbucket.org/mellium/xmpp"
        - cd "$GOPATH/src/bitbucket.org/mellium/xmpp"
        - GO15VENDOREXPERIMENT=1 go-wrapper download
        - GO15VENDOREXPERIMENT=1 go test -cover ./...
        - make test
        - GO15VENDOREXPERIMENT=1 go test -cover -bench . -benchmem -run 'Benchmark.*' ./...