Use lerna

This commit is contained in:
Fabio Berger
2017-11-13 11:20:07 -05:00
parent 2ae47d64b7
commit a246702511

View File

@@ -19,7 +19,7 @@ test:
- unzip ${CONTRACTS_COMMIT_HASH}.zip -d testrpc_snapshot - unzip ${CONTRACTS_COMMIT_HASH}.zip -d testrpc_snapshot
- npm run testrpc -- --db testrpc_snapshot: - npm run testrpc -- --db testrpc_snapshot:
background: true background: true
- yarn test:coverage - ./node_modules/lerna/bin/lerna run test:coverage
- yarn report_test_coverage - ./node_modules/lerna/bin/lerna run report_test_coverage
- if [ $CIRCLE_BRANCH = "master" ]; then yarn test:umd; fi - if [ $CIRCLE_BRANCH = "master" ]; then ./node_modules/lerna/bin/lerna run test:umd; fi
- yarn lint - ./node_modules/lerna/bin/lerna run lint