Skip to content

Commit

Permalink
chore(generic): enable coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound authored and malept committed Jan 4, 2017
1 parent 54603c1 commit 2f82115
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
sudo docker run -it electron-forge-ci ci/docker.sh $NODE_INSTALLER
else
if [[ "$NODE_INSTALLER" = "yarn" ]]; then npm i -g yarn; fi
npm run test -- --installer=$NODE_INSTALLER
npm run test-coverage -- --installer=$NODE_INSTALLER
# Only publish coverage on the macOS yarn agent
if [[ "$NODE_INSTALLER" = "yarn" ]]; then cat coverage/lcov.info | node node_modules/coveralls/bin/coveralls.js; fi
fi
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"babel-preset-es2015": "^6.16.0",
"chai": "^3.5.0",
"commitizen": "^2.8.6",
"coveralls": "^2.11.15",
"cross-env": "^3.1.3",
"cz-customizable": "4.0.0",
"esdoc": "^0.5.1",
Expand Down

0 comments on commit 2f82115

Please sign in to comment.