diff options
author | 2017-08-19 17:53:31 +0100 | |
---|---|---|
committer | 2017-08-19 17:53:31 +0100 | |
commit | 60c83fefac38ab453435a2c3d28948c518258661 (patch) | |
tree | 3c4f8a8b56e5a57c5aa10929927b0453f3de1276 | |
parent | 87eb0d39a43c423d4aa265bcfb7a2b842a287a06 (diff) | |
download | coredns-60c83fefac38ab453435a2c3d28948c518258661.tar.gz coredns-60c83fefac38ab453435a2c3d28948c518258661.tar.zst coredns-60c83fefac38ab453435a2c3d28948c518258661.zip |
travis: remove -bench and -race from coverage (#949)
Not needed and already done in the other test (bench is not looked at
at all)
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 306853cb1..f7f04b5a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,7 @@ env: - TEST_TYPE=integration ETCD_VERSION=2.3.1 K8S_VERSION=1.5.0 KUBECTL="docker exec hyperkube /hyperkube kubectl" - TEST_TYPE=core ETCD_VERSION=2.3.1 K8S_VERSION=1.5.0 KUBECTL="docker exec hyperkube /hyperkube kubectl" - TEST_TYPE=middleware ETCD_VERSION=2.3.1 K8S_VERSION=1.5.0 KUBECTL="docker exec hyperkube /hyperkube kubectl" - + # In the Travis VM-based build environment, IPv6 networking is not # enabled by default. The sysctl operations below enable IPv6. # IPv6 is needed by some of the CoreDNS test cases. The VM environment @@ -43,7 +43,7 @@ ifeq ($(TEST_TYPE),middleware) endif ifeq ($(TEST_TYPE),coverage) for d in `go list ./... | grep -v vendor`; do \ - go test -v -tags 'etcd k8s' -race -coverprofile=cover.out -covermode=atomic -bench=. $$d || exit 1; \ + go test -v -tags 'etcd k8s' -coverprofile=cover.out -covermode=atomic $$d || exit 1; \ if [ -f cover.out ]; then \ cat cover.out >> coverage.txt; \ rm cover.out; \ |