Skip to content

Commit

Permalink
support coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Jun 24, 2013
1 parent d8c82cf commit d859def
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
@@ -1,5 +1,6 @@
language: node_js
node_js:
- 0.8
- 0.10
- '0.10'
- 0.11
script: make test-coveralls
9 changes: 7 additions & 2 deletions Makefile
@@ -1,6 +1,6 @@
TESTS = test/*.test.js
TESTTIMEOUT = 1000
REPORTER = dot
REPORTER = spec
MOCHA_OPTS =

complie:
Expand All @@ -27,4 +27,9 @@ test-cov:

test-all: test test-cov

.PHONY: complie sync test test-cov test-all
test-coveralls:
@$(MAKE) test
@echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
@$(MAKE) test MOCHA_OPTS='--require blanket' REPORTER=mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js

.PHONY: complie sync test test-cov test-all test-coveralls
8 changes: 4 additions & 4 deletions README.md
@@ -1,4 +1,4 @@
emoji [![Build Status](https://secure.travis-ci.org/fengmk2/emoji.png)](http://travis-ci.org/fengmk2/emoji)
emoji [![Build Status](https://secure.travis-ci.org/fengmk2/emoji.png)](http://travis-ci.org/fengmk2/emoji) [![Coverage Status](https://coveralls.io/repos/fengmk2/emoji/badge.png)](https://coveralls.io/r/fengmk2/emoji)
=====

![logo](https://raw.github.com/fengmk2/emoji/master/logo.png)
Expand Down Expand Up @@ -99,14 +99,14 @@ $ git summary
files : 23
authors :
32 fengmk2 94.1%
2 Julian Bäume 5.9%
2 Julian Baume 5.9%
```

## License

(The MIT License)

Copyright (c) 2012 fengmk2 <fengmk2@gmail.com>.
Copyright (c) 2012 - 2013 fengmk2 <fengmk2@gmail.com>.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand All @@ -125,4 +125,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2 changes: 1 addition & 1 deletion component.json
Expand Up @@ -2,7 +2,7 @@
"author": "fengmk2 <fengmk2@gmail.com> (http://fengmk2.github.com/)",
"name": "emoji",
"description": "This library allows the handling and conversion of Emoji in Javascript.",
"version": "0.1.2",
"version": "0.2.1",
"homepage": "https://github.com/fengmk2/emoji",
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -26,6 +26,8 @@
"mocha": "*",
"blanket": "*",
"travis-cov": "*",
"coveralls": "*",
"mocha-lcov-reporter": "*",
"should": "*"
},
"engines": {
Expand Down

0 comments on commit d859def

Please sign in to comment.