Skip to content

Commit

Permalink
adding coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
taburetkin committed May 16, 2019
1 parent 7f6da3d commit 1ed2e81
Show file tree
Hide file tree
Showing 3 changed files with 303 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
@@ -1,3 +1,5 @@
language: node_js
node_js:
- "10"
script:
yarn run coveralls
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -9,7 +9,8 @@
"scripts": {
"test-w": "mocha -w --config ./test/.mocharc.json",
"test": "mocha --config ./test/.mocharc.json",
"coverage": "nyc npm run test"
"coverage": "nyc npm run test",
"coveralls" : "yarn coverage && nyc --reporter=text-lcov npm run test | coveralls"
},
"devDependencies": {
"@babel/core": "^7.4.4",
Expand All @@ -19,6 +20,7 @@
"@babel/runtime": "^7.4.4",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.0.3",
"cross-env": "^5.2.0",
"eslint": "^5.16.0",
"mocha": "^6.1.4",
Expand Down

0 comments on commit 1ed2e81

Please sign in to comment.