Skip to content

Commit

Permalink
coveralls integration
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetrunic committed Jul 9, 2018
1 parent 678b73c commit c3d9373
Show file tree
Hide file tree
Showing 3 changed files with 276 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ language: node_js

node_js:
- 8.10.0

script: yarn coverage
after_success: yarn coveralls
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"compile": "babel src -d build --copy-files",
"test": "babel-tape-runner \"src/**/*.test.es6\" | node_modules/.bin/tap-spec",
"coverage": "NODE_ENV=test nyc ./node_modules/.bin/babel-tape-runner \"src/**/*.test.es6\"",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"prepublish": "yarn build"
},
"repository": {
Expand Down Expand Up @@ -41,6 +42,7 @@
"babel-preset-env": "^1.7.0",
"babel-register": "^6.26.0",
"babel-tape-runner": "^2.0.1",
"coveralls": "^3.0.2",
"eslint": "^5.0.1",
"eslint-config-strongloop": "^2.1.0",
"istanbul": "^0.4.5",
Expand Down
Loading

0 comments on commit c3d9373

Please sign in to comment.