From 09a09667fe6a348e34fcade4f3c9b2a56f968010 Mon Sep 17 00:00:00 2001 From: Fabian Date: Tue, 30 Jan 2018 16:17:09 +0100 Subject: [PATCH 1/4] testing codecov.io --- .circleci/config.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 483437d7b3..0485b72c74 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ # version: 2 jobs: - build: + test: docker: # specify the version you desire here - image: circleci/node:9.4.0-browsers @@ -12,8 +12,6 @@ jobs: working_directory: ~/repo steps: - - run: sudo npm i -g codeclimate-test-reporter - - checkout # Download and cache dependencies @@ -33,4 +31,5 @@ jobs: - run: yarn lint - run: yarn run test - - run: codeclimate-test-reporter < test/unit/coverage/lcov.info \ No newline at end of file + post: + - bash <(curl -s https://codecov.io/bash) \ No newline at end of file From da603102f7b2ddc63b5a7c8e8839a4a6f21ed34b Mon Sep 17 00:00:00 2001 From: Fabian Date: Tue, 30 Jan 2018 16:23:54 +0100 Subject: [PATCH 2/4] renamed test to build step --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0485b72c74..d05ea63459 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ # version: 2 jobs: - test: + build: docker: # specify the version you desire here - image: circleci/node:9.4.0-browsers From dca9484badbd52fdc46814ac7a9e5df81b89eaf0 Mon Sep 17 00:00:00 2001 From: Fabian Date: Tue, 30 Jan 2018 16:51:35 +0100 Subject: [PATCH 3/4] added codecov token --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d05ea63459..2dd60d4e78 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,4 +32,4 @@ jobs: - run: yarn lint - run: yarn run test post: - - bash <(curl -s https://codecov.io/bash) \ No newline at end of file + - bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN \ No newline at end of file From 074dd936aee82689f24cb42e4d8f0102f1ea604c Mon Sep 17 00:00:00 2001 From: Fabian Date: Tue, 30 Jan 2018 16:58:43 +0100 Subject: [PATCH 4/4] add codecov config --- codecov.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 codecov.yaml diff --git a/codecov.yaml b/codecov.yaml new file mode 100644 index 0000000000..35b384e8bd --- /dev/null +++ b/codecov.yaml @@ -0,0 +1,19 @@ +coverage: + precision: 2 + round: down + range: "70...100" + + status: + project: + default: on + patch: + default: on + changes: + default: off + +comment: + layout: "header, reach, diff, flags, files, footer" + behavior: default + require_changes: no + require_base: no + require_head: yes \ No newline at end of file