1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +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" - "npm i -g mocha"
test: test:
override: override:
- "npm run lint" - "npm run ci"
- "npm run test-coverage"
- "npm run test-integration"

View File

@ -14,6 +14,7 @@
"single-test": "METAMASK_ENV=test mocha --require test/helper.js", "single-test": "METAMASK_ENV=test mocha --require test/helper.js",
"test-integration": "npm run buildMock && npm run buildCiUnits && testem ci -P 2", "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", "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", "lint": "gulp lint",
"buildCiUnits": "node test/integration/index.js", "buildCiUnits": "node test/integration/index.js",
"watch": "mocha watch --recursive \"test/unit/**/*.js\"", "watch": "mocha watch --recursive \"test/unit/**/*.js\"",