diff --git a/.travis.yml b/.travis.yml index 1f4343ea..ff04ca53 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,5 +7,6 @@ go: services: - docker script: +- make test - make _output/bin/kubectl-trace - ./hack/release-image.sh diff --git a/Makefile b/Makefile index b5e7defd..e68c8c8b 100644 --- a/Makefile +++ b/Makefile @@ -48,3 +48,6 @@ image/latest: $(DOCKER) tag $(IMAGE_BPFTRACE_COMMIT) $(IMAGE_BPFTRACE_LATEST) $(DOCKER) push $(IMAGE_BPFTRACE_LATEST) +.PHONY: test +test: + $(GO) test -v -race ./...