Skip to content

Commit

Permalink
added coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Einstein committed Jun 21, 2017
1 parent c42a42a commit e0a5149
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ cache:

# command to run tests
script:
- npm run test:coverage
- npm run test:coverage:report
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Build Status](https://travis-ci.org/meinstein/react-autotip.svg?branch=master)](https://travis-ci.org/meinstein/react-autotip)
[![Coverage Status](https://coveralls.io/repos/github/meinstein/react-autotip/badge.svg?branch=master)](https://coveralls.io/github/meinstein/react-autotip?branch=master)

# react-autotip

Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"prepublish": "npm run build",
"test": "jest",
"test:watch": "npm run test -- --watch",
"test:coverage": "npm run test -- --coverage"
"test:coverage": "npm run test -- --coverage",
"test:coverage:report": "npm run test:coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"repository": {
"type": "git",
Expand All @@ -30,6 +31,7 @@
"babel-preset-react": "^6.16.0",
"babel-preset-stage-1": "^6.16.0",
"babel-register": "^6.23.0",
"coveralls": "^2.13.1",
"css-loader": "^0.28.4",
"enzyme": "^2.8.2",
"eslint": "^4.0.0",
Expand Down

0 comments on commit e0a5149

Please sign in to comment.