aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-01-16 23:36:21 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-17 04:11:30 +0800
commit3894311d68ff2b38287154c6dc335a36e1d0be97 (patch)
tree8041111d55b444c6b13486da51ecfd2175242a56 /.circleci
parent35501dd4fc9d2034356f364447dec2e26b88557b (diff)
downloaddexon-sol-tools-3894311d68ff2b38287154c6dc335a36e1d0be97.tar.gz
dexon-sol-tools-3894311d68ff2b38287154c6dc335a36e1d0be97.tar.zst
dexon-sol-tools-3894311d68ff2b38287154c6dc335a36e1d0be97.zip
Test deployer separately from contracts
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml22
1 files changed, 19 insertions, 3 deletions
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