From 3894311d68ff2b38287154c6dc335a36e1d0be97 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 16 Jan 2018 16:36:21 +0100 Subject: Test deployer separately from contracts --- .circleci/config.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to '.circleci/config.yml') diff --git a/.circleci/config.yml b/.circleci/config.yml index 1795a4bfc..10c5fc886 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,7 +52,20 @@ jobs: name: testrpc command: npm run testrpc -- --db testrpc_snapshot background: true - - run: yarn lerna:run --scope contracts test:circleci + - run: yarn lerna:run --scope contracts test:circleci:contracts + test-deployer: + docker: + - image: circleci/node:6.12 + working_directory: ~/repo + steps: + - restore_cache: + keys: + - repo-{{ .Environment.CIRCLE_SHA1 }} + - run: + name: testrpc + command: npm run testrpc -- --db testrpc_snapshot + background: true + - run: yarn lerna:run --scope contracts test:circleci:deployer test-rest: docker: - image: circleci/node:6.12 @@ -95,12 +108,15 @@ workflows: - test-contracts: requires: - build - - test-rest: + - test-deployer: requires: - build - - lint: + - test-rest: requires: - build - prettier: requires: - build + - lint: + requires: + - build -- cgit v1.2.3