diff --git a/.circleci/config.yml b/.circleci/config.yml index 3e06d33126f85..603843f747fc5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -107,6 +107,9 @@ commands: - run: name: "Remove plugins/parsers/influx/machine.go from coverage" command: sed -i '/github.com\/influxdata\/telegraf\/plugins\/parsers\/influx\/machine.go/d' coverage.out + - run: + name: "variable check" + command: echo ${COVERALLS_TELEGRAF_TOKEN} - run: name: "Upload test coverage" command: /go/bin/goveralls -coverprofile=coverage.out -service=circle-ci -repotoken=${COVERALLS_TELEGRAF_TOKEN} @@ -184,6 +187,8 @@ commands: jobs: test-go-linux: executor: telegraf-ci + context: + - telegraf-coveralls steps: - checkout - restore_cache: @@ -501,8 +506,6 @@ workflows: filters: tags: only: /.*/ - context: - - telegraf-coveralls - 'test-go-linux-386': filters: tags: