Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Commit

Permalink
Add coveralls for test reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ray Chen committed Jun 11, 2019
1 parent 08a8895 commit 248a331
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ language: node_js
node_js:
- node
script:
- npm run travis
- npm run travis
after_success: npm run coverage
32 changes: 32 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"dev-https": "concurrently --names \"ROLLUP,HTTP\" \"rollup -c -w -m inline\" \"ws -p 8080 --https\"",
"lint": "eslint src",
"lint-fix": "eslint src --fix",
"test": "nyc --reporter=html --reporter=text ava ./test/src",
"test": "nyc ava ./test/src",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"start": "npm run dev",
"docs": "node_modules/.bin/jsdoc -c jsdoc.json -d ./docs",
"travis": "npm run lint && npm test",
Expand Down Expand Up @@ -107,6 +108,7 @@
"ava": "^1.4.1",
"browser-env": "^3.2.6",
"concurrently": "^4.1.0",
"coveralls": "^3.0.4",
"docdash": "^1.1.1",
"eslint": "^5.16.0",
"google-closure-compiler": "^20190513.0.0",
Expand Down

0 comments on commit 248a331

Please sign in to comment.