From b9fcef23b18a1203a28c73f30400aebf72ec49ef Mon Sep 17 00:00:00 2001 From: ruflin Date: Tue, 8 Mar 2016 16:32:20 +0100 Subject: [PATCH] Add metricbeat to codecov coverage report --- .travis.yml | 1 + metricbeat/helper/module_test.go | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2c0c9933975..510755edca4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -87,3 +87,4 @@ after_success: - test -f topbeat/build/coverage/full.cov && bash <(curl -s https://codecov.io/bash) -f topbeat/build/coverage/full.cov - test -f libbeat/build/coverage/full.cov && bash <(curl -s https://codecov.io/bash) -f libbeat/build/coverage/full.cov - test -f winlogbeat/build/coverage/full.cov && bash <(curl -s https://codecov.io/bash) -f winlogbeat/build/coverage/full.cov + - test -f metricbeat/build/coverage/full.cov && bash <(curl -s https://codecov.io/bash) -f metricbeat/build/coverage/full.cov diff --git a/metricbeat/helper/module_test.go b/metricbeat/helper/module_test.go index 2cb5098410c..5e39c33b2bf 100644 --- a/metricbeat/helper/module_test.go +++ b/metricbeat/helper/module_test.go @@ -1,11 +1,12 @@ package helper import ( + "reflect" "testing" "github.com/stretchr/testify/assert" + "github.com/urso/ucfg" - "reflect" ) func TestGetMetricSetsList(t *testing.T) {