diff options
author | kumavis <aaron@kumavis.me> | 2017-09-12 07:22:50 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2017-09-12 13:25:46 +0800 |
commit | ca035743c2a89b90b5b263bf3125cbed1175c4b2 (patch) | |
tree | 6c6992ed4cc747be82e4d8945da3e81c61b7eb83 | |
parent | 19d6618c04196f392a455823d1929025d40564fa (diff) | |
download | tangerine-wallet-browser-ca035743c2a89b90b5b263bf3125cbed1175c4b2.tar.gz tangerine-wallet-browser-ca035743c2a89b90b5b263bf3125cbed1175c4b2.tar.zst tangerine-wallet-browser-ca035743c2a89b90b5b263bf3125cbed1175c4b2.zip |
ci - dont attempt to submit coveralls if not configured
-rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json index 9afc181a3..eb0b57bb7 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "test-unit": "METAMASK_ENV=test mocha --require test/helper.js --recursive \"test/unit/**/*.js\"", "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", + "test-coverage": "nyc npm run test-unit && if [ $COVERALLS_REPO_TOKEN ]; then nyc report --reporter=text-lcov | coveralls; fi", "ci": "npm run lint && npm run test-coverage && npm run test-integration", "lint": "gulp lint", "buildCiUnits": "node test/integration/index.js", |