diff options
| author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-16 21:04:02 +0800 | 
|---|---|---|
| committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-16 21:04:02 +0800 | 
| commit | 1ccb97861273838523bf2e58c1ee8056605c259b (patch) | |
| tree | 1a20ff735cca64a909139c4d389da4b1414f75a0 /.circleci/config.yml | |
| parent | 7040a01cf2d154e16ab97fe0bfcb9297962eb77a (diff) | |
| download | dexon-sol-tools-1ccb97861273838523bf2e58c1ee8056605c259b.tar.gz dexon-sol-tools-1ccb97861273838523bf2e58c1ee8056605c259b.tar.zst dexon-sol-tools-1ccb97861273838523bf2e58c1ee8056605c259b.zip  | |
Split tests into two bundles
Diffstat (limited to '.circleci/config.yml')
| -rw-r--r-- | .circleci/config.yml | 22 | 
1 files changed, 19 insertions, 3 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 84f3dc947..da3b4d386 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,7 +25,7 @@ jobs:            key: repo-{{ .Environment.CIRCLE_SHA1 }}            paths:              - ~/repo -  test: +  test-0xjs:      docker:        - image: circleci/node:6.12      working_directory: ~/repo @@ -37,7 +37,20 @@ jobs:            name: testrpc            command: npm run testrpc -- --db testrpc_snapshot            background: true -      - run: yarn lerna:run test:circleci +      - run: yarn lerna:run --scope 0x.js test:circleci +  test-rest: +    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 --ignore 0x.js test:circleci    lint:      working_directory: ~/repo      docker: @@ -61,7 +74,10 @@ workflows:    main:      jobs:        - build -      - test: +      - test-0xjs: +          requires: +            - build +      - test-rest:            requires:              - build        - lint:  | 
