aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2018-11-29 20:29:37 +0000
committerGravatar Yong Tang <yong.tang.github@outlook.com> 2018-11-29 12:29:37 -0800
commit95c9e14dcf65a9c3b97aa1be611fae664f99f7e6 (patch)
treefb277a3c0142ced837d45d30b494da4d8e9969d6 /Makefile
parent50ef7409d1d351fdd0c7cafa8f382b6e17fa3a35 (diff)
downloadcoredns-95c9e14dcf65a9c3b97aa1be611fae664f99f7e6.tar.gz
coredns-95c9e14dcf65a9c3b97aa1be611fae664f99f7e6.tar.zst
coredns-95c9e14dcf65a9c3b97aa1be611fae664f99f7e6.zip
Remove benchmark from travis (#2350)
We're not doing anything with the data so stop doing it. Also makes travis 20% faster. Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 0 insertions, 17 deletions
diff --git a/Makefile b/Makefile
index 5efbaf8c8..7f7951147 100644
--- a/Makefile
+++ b/Makefile
@@ -33,8 +33,6 @@ godeps:
(cd $(GOPATH)/src/github.com/mholt/caddy && git checkout -q v0.11.1)
(cd $(GOPATH)/src/github.com/miekg/dns && git checkout -q v1.1.0)
(cd $(GOPATH)/src/github.com/prometheus/client_golang && git checkout -q v0.8.0)
- @ # for travis only, if this fails we don't care, but don't see benchmarks
- go get -u golang.org/x/tools/cmd/benchcmp || true
.PHONY: travis
travis:
@@ -61,21 +59,6 @@ ifeq ($(TEST_TYPE),coverage)
fi; \
done
endif
-ifeq ($(TEST_TYPE),benchmark)
- > new
- ( cd plugin; go test -run=NONE -bench=. -benchmem=true -tags 'etcd' ./... ) >> new
- ( cd request; go test -run=NONE -bench=. -benchmem=true -tags 'etcd' ./... ) >> new
- ( cd core; go test -run=NONE -bench=. -benchmem=true -tags 'etcd' ./... ) >> new
- ( cd coremain; go test -run=NONE -bench=. -benchmem=true -tags 'etcd' ./... ) >> new
- git checkout master
- > old
- ( cd plugin; go test -run=NONE -bench=. -benchmem=true -tags 'etcd' ./... ) >> old
- ( cd request; go test -run=NONE -bench=. -benchmem=true -tags 'etcd' ./... ) >> old
- ( cd core; go test -run=NONE -bench=. -benchmem=true -tags 'etcd' ./... ) >> old
- ( cd coremain; go test -run=NONE -bench=. -benchmem=true -tags 'etcd' ./... ) >> old
- if command -v benchcmp; then benchcmp old new > .benchmark.log ; cat .benchmark.log ; fi
- git checkout -
-endif
core/zplugin.go core/dnsserver/zdirectives.go: plugin.cfg
go generate coredns.go