diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-14 07:11:31 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-11-14 07:11:31 +0800 |
commit | 087ea1f06824491663df5dc7bc4a44a4b5352d24 (patch) | |
tree | 70a9f56bfea637a7058ce0fe2dc99b16a5ed95bd | |
parent | 4354d3f121a6d21844445a28cf7ffe86efc97591 (diff) | |
download | dexon-sol-tools-087ea1f06824491663df5dc7bc4a44a4b5352d24.tar dexon-sol-tools-087ea1f06824491663df5dc7bc4a44a4b5352d24.tar.gz dexon-sol-tools-087ea1f06824491663df5dc7bc4a44a4b5352d24.tar.bz2 dexon-sol-tools-087ea1f06824491663df5dc7bc4a44a4b5352d24.tar.lz dexon-sol-tools-087ea1f06824491663df5dc7bc4a44a4b5352d24.tar.xz dexon-sol-tools-087ea1f06824491663df5dc7bc4a44a4b5352d24.tar.zst dexon-sol-tools-087ea1f06824491663df5dc7bc4a44a4b5352d24.zip |
Standardize around a `test:circleci` command that any sub-package can implement in order to have their tests run on CircleCi
-rw-r--r-- | .circleci/config.yml | 3 | ||||
-rw-r--r-- | packages/0x.js/package.json | 1 | ||||
-rw-r--r-- | packages/assert/package.json | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 330420db4..d6d02a4f9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,7 +24,6 @@ jobs: name: testrpc command: npm run testrpc -- --db testrpc_snapshot background: true - - run: yarn lerna:run test:coverage - - run: yarn lerna:run report_test_coverage + - run: yarn lerna:run test:circleci - run: if [ $CIRCLE_BRANCH = "development" ]; then yarn lerna:run test:umd; fi - run: yarn lerna:run lint diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 2866f1a9e..b98188cc4 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -19,6 +19,7 @@ "release": "publish-release --assets _bundles/index.js,_bundles/index.min.js --tag $(git describe --tags) --owner 0xProject --repo 0x.js", "upload_docs_json": "aws s3 cp docs/index.json s3://0xjs-docs-jsons/$(git describe --tags).json --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type aplication/json", "lint": "tslint src/**/*.ts test/**/*.ts", + "test:circleci": "run-s test:coverage report_test_coverage", "test": "run-s clean test:commonjs", "test:umd": "./scripts/test_umd.sh", "test:coverage": "nyc npm run test --all", diff --git a/packages/assert/package.json b/packages/assert/package.json index ab640b361..289bc5431 100644 --- a/packages/assert/package.json +++ b/packages/assert/package.json @@ -11,7 +11,8 @@ "lint": "tslint src/**/*.ts test/**/*.ts", "run_mocha": "mocha lib/test/**/*_test.js", "prepublishOnly": "run-p build", - "test": "run-s clean build run_mocha" + "test": "run-s clean build run_mocha", + "test:circleci": "yarn test" }, "license": "Apache-2.0", "repository": { |