Skip to content

Commit e223587

Browse files
authored
Merge pull request ethereumjs#402 from whymarrh/fix-359
Only run Coveralls when token exists
2 parents 9113f22 + 78262dc commit e223587

File tree

2 files changed

+1
-47
lines changed

2 files changed

+1
-47
lines changed

.travis.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"coverage": "nyc npm run coverageTests && nyc report --reporter=text-lcov > .nyc_output/lcov.info",
1111
"coverageTests": "tape ./tests/api/*.js ./tests/tester.js -s",
12-
"coveralls": "npm run coverage && coveralls <.nyc_output/lcov.info",
12+
"coveralls": "npm run coverage && if [ -n \"$COVERALLS_REPO_TOKEN\" ]; then coveralls <.nyc_output/lcov.info; fi",
1313
"testVM": "node ./tests/tester -v",
1414
"testStateByzantium": "npm run build:dist && node ./tests/tester -s --fork='Byzantium' --dist",
1515
"testStateConstantinople": "npm run build:dist && node ./tests/tester -s --fork='Constantinople' --dist",

0 commit comments

Comments
 (0)