Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

Commit

Permalink
adding coverage CI support
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhonny Michel committed Jan 10, 2019
1 parent 3e8f880 commit 1b2cba4
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
.DS_Store
.vscode/
.vscode/
coverage
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ install:
- npm install
script:
- npm test
- npm run coveralls
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.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"jsnext:main": "src/index.js",
"scripts": {
"test": "jest",
"coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls",
"build": "webpack --progress --config webpack.prod.config.js",
"start": "webpack-dev-server --hot --reload --config webpack.dev.config.js"
},
Expand Down Expand Up @@ -39,6 +40,7 @@
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"coveralls": "^3.0.2",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"html-webpack-plugin": "^3.2.0",
Expand Down

0 comments on commit 1b2cba4

Please sign in to comment.