Skip to content

Commit

Permalink
badges, autopush coverage on build
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Brady <adam@boxxen.org>
  • Loading branch information
SomeoneWeird committed Jan 10, 2015
1 parent 4a225a9 commit b733eb2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ node_js:
- "0.10"
before_install:
- "npm install"
- "npm run build"
after_success:
- "npm run coverage"
- "npm run push-coverage"
notifications:
irc: "chat.freenode.net#htjs"
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
hudson-taylor
=============

[![Build Status](https://travis-ci.org/hudson-taylor/hudson-taylor.svg?branch=2)](https://travis-ci.org/hudson-taylor/hudson-taylor)
[![Coverage Status](https://img.shields.io/coveralls/hudson-taylor/hudson-taylor.svg)](https://coveralls.io/r/hudson-taylor/hudson-taylor)

Hudson Taylor (ht) is a client/server library for building automatically
documented, well validated services (SOA) in Node.js

Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"test": "npm run build && mocha --recursive --reporter spec --bail --check-leaks test/",
"build": "node ./node_modules/6to5/bin/6to5 src -d lib && node ./node_modules/6to5/bin/6to5 test-src -d test",
"coverage": "npm run build && ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha -- --ui bdd --recursive -R spec -t 5000",
"push-coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"prepublish": "npm run build"
},
"repository": {
Expand Down Expand Up @@ -49,6 +50,7 @@
},
"devDependencies": {
"6to5": "^2.4.10",
"coveralls": "^2.11.2",
"istanbul": "^0.3.5",
"mocha": "^2.1.0",
"openport": "0.0.3",
Expand Down

0 comments on commit b733eb2

Please sign in to comment.