Skip to content

Commit

Permalink
using travis-ci and coverall
Browse files Browse the repository at this point in the history
  • Loading branch information
pusongyang committed Feb 25, 2016
1 parent 4e71bba commit 207d219
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
.idea
test/temp
npm-debug.log
npm-debug.log
.coveralls.yml
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"url": "git+https://github.com/pusongyang/generator-fullstack-backbone.git"
},
"scripts": {
"test": "mocha --reporter spec"
"test": "mocha --reporter spec",
"coverall":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},
"dependencies": {
"ejs": "^2.3.0",
Expand All @@ -32,7 +33,9 @@
"generator-backbone-mocha": ">=0.0.2"
},
"devDependencies": {
"mocha": "*"
"coveralls": "^2.11.6",
"mocha": "*",
"mocha-lcov-reporter": "^1.2.0"
},
"engines": {
"node": ">=0.12.10"
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Backbone.js generator [![Build Status](https://secure.travis-ci.org/yeoman/generator-backbone.svg?branch=master)](http://travis-ci.org/yeoman/generator-backbone) [![Coverage Status](https://coveralls.io/repos/yeoman/generator-backbone/badge.png?branch=master)](https://coveralls.io/r/yeoman/generator-backbone?branch=master)
# Backbone.js generator [![Build Status](https://travis-ci.org/pusongyang/generator-fullstack-backbone.svg?branch=master)](https://travis-ci.org/pusongyang/generator-fullstack-backbone) [![Coverage Status](https://coveralls.io/repos/github/pusongyang/generator-fullstack-backbone/badge.svg?branch=master)](https://coveralls.io/github/pusongyang/generator-fullstack-backbone?branch=master)

A Fullstack Backbone generator for Yeoman that provides a functional boilerplate Backbone app out of the box. You also get access to a number of sub-generators which can be used to easily create individual models, views, collections and so on.

Expand Down

0 comments on commit 207d219

Please sign in to comment.