diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-14 01:13:11 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-11-14 01:13:11 +0800 |
commit | a5d9b71eb6ae5eb49a0be61e1bd668485b411818 (patch) | |
tree | 0504b28aba9ffca5083b03b9345638a333071031 /.circleci | |
parent | aa3385d516ee83c18a27296e1d0fc0ddd23cf18b (diff) | |
download | dexon-0x-contracts-a5d9b71eb6ae5eb49a0be61e1bd668485b411818.tar.gz dexon-0x-contracts-a5d9b71eb6ae5eb49a0be61e1bd668485b411818.tar.zst dexon-0x-contracts-a5d9b71eb6ae5eb49a0be61e1bd668485b411818.zip |
Simply lerna command and run bootstrap to install dependencies
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index f373e5656..3501fdd89 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,11 +18,12 @@ jobs: - ~/.cache/yarn - run: wget https://s3.amazonaws.com/testrpc-shapshots/${CONTRACTS_COMMIT_HASH}.zip - run: unzip ${CONTRACTS_COMMIT_HASH}.zip -d testrpc_snapshot - - run: + - run: node ./node_modules/lerna/bin/lerna.js bootstrap + - run: yarn lerna:run -- bootstrap name: testrpc command: npm run testrpc -- --db testrpc_snapshot background: true - - run: node ./node_modules/lerna/bin/lerna.js run test:coverage - - run: node ./node_modules/lerna/bin/lerna.js run report_test_coverage - - run: if [ $CIRCLE_BRANCH = "master" ]; then node ./node_modules/lerna/bin/lerna.js run test:umd; fi - - run: node ./node_modules/lerna/bin/lerna.js run lint + - run: yarn lerna:run -- test:coverage + - run: yarn lerna:run -- report_test_coverage + - run: if [ $CIRCLE_BRANCH = "master" ]; then yarn lerna:run -- test:umd; fi + - run: yarn lerna:run -- lint |