Files
coredns/Makefile
Michael Richmond 8dec292668 Fix Travis IPv6 and add k8s integration testing to CI (#194)
Updating travis yaml file to:
* Force IPv6 to work in their VM environment
* Enable docker (requires VM environment and sudo)
* Run kubernetes integration tests in Travis
2016-07-27 10:01:24 -07:00

30 lines
444 B
Makefile

#BUILD_VERBOSE :=
BUILD_VERBOSE := -v
TEST_VERBOSE :=
TEST_VERBOSE := -v
all:
go build $(BUILD_VERBOSE)
.PHONY: docker
docker:
GOOS=linux go build -a -tags netgo -installsuffix netgo
docker build -t $$USER/coredns .
.PHONY: deps
deps:
go get ${BUILD_VERBOSE}
.PHONY: test
test:
go test $(TEST_VERBOSE) ./...
.PHONY: testk8s
testk8s:
go test $(TEST_VERBOSE) -tags=k8s -run 'TestK8sIntegration' ./test
.PHONY: clean
clean:
go clean