Skip to content

Commit

Permalink
Report test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparsd committed Mar 24, 2019
1 parent 88785d4 commit a33e229
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
language: node_js

node_js:
- "node"

install:
- npm install

script:
- npm run lint
- npm run test

after_success:
- npm run coveralls

notifications:
email: false

cache: npm

branches:
only:
- master
40 changes: 40 additions & 0 deletions package-lock.json

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

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"url": "https://github.com/wpsh/to-wp-txt/issues"
},
"keywords": [
"wordpress"
"wordpress",
"readme"
],
"main": "dist/main.common.js",
"module": "src/main.js",
Expand All @@ -21,6 +22,7 @@
"scripts": {
"lint": "standard",
"test": "jest",
"coveralls": "jest --coverage --coverageReporters=text-lcov | coveralls",
"build": "babel ./src/main.js --out-file ./dist/main.common.js",
"prepublish": "npm run build"
},
Expand All @@ -30,6 +32,7 @@
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@babel/plugin-transform-modules-commonjs": "^7.4.0",
"coveralls": "^3.0.3",
"jest": "^24.5.0",
"standard": "^12.0.1"
},
Expand Down

0 comments on commit a33e229

Please sign in to comment.