Standardize around a test:circleci
command that any sub-package can implement in order to have their tests run on CircleCi
This commit is contained in:
@@ -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
|
||||
|
@@ -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",
|
||||
|
@@ -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": {
|
||||
|
Reference in New Issue
Block a user