1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

One script runs for Ci build

This commit is contained in:
Thomas Huang 2017-07-25 16:33:52 -07:00
parent a1fab06490
commit eb15663497
2 changed files with 2 additions and 3 deletions

View File

@ -7,6 +7,4 @@ dependencies:
- "npm i -g mocha"
test:
override:
- "npm run lint"
- "npm run test-coverage"
- "npm run test-integration"
- "npm run ci"

View File

@ -14,6 +14,7 @@
"single-test": "METAMASK_ENV=test mocha --require test/helper.js",
"test-integration": "npm run buildMock && npm run buildCiUnits && testem ci -P 2",
"test-coverage": "nyc npm run test-unit && nyc report --reporter=text-lcov | coveralls",
"ci": "npm run lint && npm run test-coverage && npm run test-integration",
"lint": "gulp lint",
"buildCiUnits": "node test/integration/index.js",
"watch": "mocha watch --recursive \"test/unit/**/*.js\"",