aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-01-16 22:20:15 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-16 22:20:15 +0800
commit9521bf8d4fd769712702169ef1ea4ee6296d1ca8 (patch)
treeaf8ab5563748e4361488cd452a277ddd0a92502f
parent7c1c94d39bfb9ff7872de7a6435ac52e94de4ec1 (diff)
downloaddexon-0x-contracts-9521bf8d4fd769712702169ef1ea4ee6296d1ca8.tar.gz
dexon-0x-contracts-9521bf8d4fd769712702169ef1ea4ee6296d1ca8.tar.zst
dexon-0x-contracts-9521bf8d4fd769712702169ef1ea4ee6296d1ca8.zip
Separate contracts tests from others
-rw-r--r--.circleci/config.yml16
1 files changed, 14 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 0416fae84..47cf0af16 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -40,7 +40,7 @@ jobs:
command: npm run testrpc -- --db testrpc_snapshot
background: true
- run: yarn lerna:run --scope 0x.js test:circleci
- test-rest:
+ test-contracts:
docker:
- image: circleci/node:6.12
working_directory: ~/repo
@@ -52,7 +52,16 @@ jobs:
name: testrpc
command: npm run testrpc -- --db testrpc_snapshot
background: true
- - run: yarn lerna:run --ignore 0x.js test:circleci
+ - run: yarn lerna:run --scope contracts test:circleci
+ test-rest:
+ docker:
+ - image: circleci/node:6.12
+ working_directory: ~/repo
+ steps:
+ - restore_cache:
+ keys:
+ - repo-{{ .Environment.CIRCLE_SHA1 }}
+ - run: yarn lerna:run --ignore contracts,0x.js test:circleci
lint:
working_directory: ~/repo
docker:
@@ -79,6 +88,9 @@ workflows:
- test-0xjs:
requires:
- build
+ - test-contracts:
+ requires:
+ - build
- test-rest:
requires:
- build