From 11ed5d62baa0cce4014afaf6986a0745cc853bef Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 13 Mar 2018 16:34:37 +0100 Subject: Report all coverage reports together --- .circleci/config.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to '.circleci/config.yml') diff --git a/.circleci/config.yml b/.circleci/config.yml index 17c4cc58d..0a31b925b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,6 +40,10 @@ jobs: command: npm run testrpc -- --db testrpc_snapshot background: true - run: yarn lerna:run --scope 0x.js test:circleci + - save_cache: + key: repo-{{ .Environment.CIRCLE_SHA1 }} + paths: + - ~/repo test-contracts: docker: - image: circleci/node:6.12 @@ -53,6 +57,10 @@ jobs: command: npm run testrpc -- --db testrpc_snapshot background: true - run: yarn lerna:run --scope contracts test:circleci + - save_cache: + key: repo-{{ .Environment.CIRCLE_SHA1 }} + paths: + - ~/repo test-deployer: docker: - image: circleci/node:6.12 @@ -97,6 +105,15 @@ jobs: keys: - repo-{{ .Environment.CIRCLE_SHA1 }} - run: yarn prettier:ci + coverage_report: + working_directory: ~/repo + docker: + - image: circleci/node:6.12 + steps: + - restore_cache: + keys: + - repo-{{ .Environment.CIRCLE_SHA1 }} + - run: yarn report_coverage workflows: version: 2 main: @@ -120,3 +137,7 @@ workflows: - lint: requires: - build + - coverage_report: + requires: + - test-0xjs + - test-contracts -- cgit v1.2.3 From 0334004b11564d4c23dd64bcf1ee4f9c6097a466 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 13 Mar 2018 19:09:16 +0100 Subject: Revert "Report all coverage reports together" This reverts commit 11ed5d62baa0cce4014afaf6986a0745cc853bef. --- .circleci/config.yml | 21 --------------------- 1 file changed, 21 deletions(-) (limited to '.circleci/config.yml') diff --git a/.circleci/config.yml b/.circleci/config.yml index 0a31b925b..17c4cc58d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,10 +40,6 @@ jobs: command: npm run testrpc -- --db testrpc_snapshot background: true - run: yarn lerna:run --scope 0x.js test:circleci - - save_cache: - key: repo-{{ .Environment.CIRCLE_SHA1 }} - paths: - - ~/repo test-contracts: docker: - image: circleci/node:6.12 @@ -57,10 +53,6 @@ jobs: command: npm run testrpc -- --db testrpc_snapshot background: true - run: yarn lerna:run --scope contracts test:circleci - - save_cache: - key: repo-{{ .Environment.CIRCLE_SHA1 }} - paths: - - ~/repo test-deployer: docker: - image: circleci/node:6.12 @@ -105,15 +97,6 @@ jobs: keys: - repo-{{ .Environment.CIRCLE_SHA1 }} - run: yarn prettier:ci - coverage_report: - working_directory: ~/repo - docker: - - image: circleci/node:6.12 - steps: - - restore_cache: - keys: - - repo-{{ .Environment.CIRCLE_SHA1 }} - - run: yarn report_coverage workflows: version: 2 main: @@ -137,7 +120,3 @@ workflows: - lint: requires: - build - - coverage_report: - requires: - - test-0xjs - - test-contracts -- cgit v1.2.3 From 53e1815c1d428b93185e6f26201b3c6434c2a7fd Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 13 Mar 2018 19:30:54 +0100 Subject: Notify coveralls after all tasks have finished --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.circleci/config.yml') diff --git a/.circleci/config.yml b/.circleci/config.yml index 17c4cc58d..8e781c949 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -120,3 +120,5 @@ workflows: - lint: requires: - build +notifications: + webhooks: https://coveralls.io/webhook?repo_token={{ .Environment.COVERALLS_REPO_TOKEN }} -- cgit v1.2.3 From 1f81fa1c6c204f07190322fc2e96196727084098 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 13 Mar 2018 20:15:22 +0100 Subject: Configure post build hook --- .circleci/config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.circleci/config.yml') diff --git a/.circleci/config.yml b/.circleci/config.yml index 8e781c949..4143bd532 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -120,5 +120,6 @@ workflows: - lint: requires: - build -notifications: - webhooks: https://coveralls.io/webhook?repo_token={{ .Environment.COVERALLS_REPO_TOKEN }} +notify: + webhooks: + - url: https://coveralls.io/webhook?repo_token=ZYESXQbPiGidXzn2qkajycWa42uZHZsMX -- cgit v1.2.3