Skip to content

Commit

Permalink
chore: Support coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
jessy1092 committed Apr 12, 2016
1 parent df6b4ed commit c308c50
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
node_modules/
_public/
*.log
coverage/

# transpile file
lib/
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
node_modules/
_public/
test/
coverage/

# Else
docs/
Expand Down
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ branches:

script:
- "npm test"

after_script:
- cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
React-Semantify
=============
[![npm][npm-image]][npm-url] [![Dependency Status][david-dm-image]][david-dm-url] [![Build Status][travis-ci-image]][travis-ci-url] [![Coverage Status][coverage-status-image]][coverage-status-url] [![Code Climate][code-climate-image]][code-climate-url]
[![npm][npm-image]][npm-url] [![Dependency Status][david-dm-image]][david-dm-url] [![Build Status][travis-ci-image]][travis-ci-url] [![Coverage Status][coverage-status-image]][coverage-status-url]

Integrate Semantic-ui with react components. It depends on Semantic-UI and helps you use with react component.

Expand Down Expand Up @@ -222,6 +222,3 @@ Now Commit message style following [angular](https://github.com/ajoslin/conventi
[coverage-status-image]: https://img.shields.io/coveralls/jessy1092/react-semantify.svg?style=flat-square
[coverage-status-url]: https://coveralls.io/r/jessy1092/react-semantify
[code-climate-image]: https://img.shields.io/codeclimate/github/jessy1092/react-semantify.svg?style=flat-square
[code-climate-url]: https://codeclimate.com/github/jessy1092/react-semantify
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"scripts": {
"start": "gulp dev",
"prepublish": "gulp transpile",
"test": "node ./node_modules/jest-cli/bin/jest.js"
"test": "node ./node_modules/jest-cli/bin/jest.js --coverage"
},
"engines": {
"node": ">= 0.10.x"
Expand All @@ -51,6 +51,7 @@
"babelify": "^7.2.0",
"browserify": "^12.0.1",
"browserify-global-shim": "^1.0.0",
"coveralls": "^2.11.9",
"gulp": "git://github.com/gulpjs/gulp.git#4.0",
"gulp-babel": "^6.1.0",
"gulp-rename": "^1.2.2",
Expand Down

0 comments on commit c308c50

Please sign in to comment.