Skip to content

Commit

Permalink
Added badge and blanket configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiel committed Apr 11, 2015
1 parent 9cee5b4 commit 181b4fe
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Gruntfile.js
Expand Up @@ -3,9 +3,7 @@ module.exports = function(grunt) {
mochacov: {
coverage: {
options: {
coveralls: {
repoToken: 'eyho4zXOZDH8j7krQc6Neg0jox4jTcxB7'
}
coveralls: true
}
},
test: {
Expand All @@ -22,7 +20,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-mocha-cov');

grunt.registerTask('travis', ['mochacov:coverage']);
if(process.env.TRAVIS){
if(process.env.TRAVIS || true){
grunt.registerTask('test', ['mochacov:test','travis']);
}else{
grunt.registerTask('test', ['mochacov:test']);
Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -4,6 +4,7 @@ mongoose-aliasfield
[![Build Status](https://travis-ci.org/ramiel/mongoose-aliasfield.svg?branch=master)](https://travis-ci.org/ramiel/mongoose-aliasfield)
[![Dependency Status](https://david-dm.org/ramiel/mongoose-aliasfield.svg)](https://david-dm.org/ramiel/mongoose-aliasfield)
[![devDependency Status](https://david-dm.org/ramiel/mongoose-aliasfield/dev-status.svg)](https://david-dm.org/ramiel/mongoose-aliasfield#info=devDependencies)
[![Coverage Status](https://coveralls.io/repos/ramiel/mongoose-aliasfield/badge.svg)](https://coveralls.io/r/ramiel/mongoose-aliasfield)

Discover on [Ramiel's creations](http://www.ramielcreations.com/projects/alias-fields-plugin-for-mongoose/ "Ramiel's creations page")

Expand Down
7 changes: 7 additions & 0 deletions package.json
Expand Up @@ -12,6 +12,7 @@
"grunt": "^0.4.5",
"grunt-mocha-cov": "^0.4.0",
"mocha": "^2.2.1",
"mocha-lcov-reporter": "0.0.2",
"mongoose": ">=2.0.0"
},
"keywords": [
Expand All @@ -32,5 +33,11 @@
},
"scripts": {
"test": "./node_modules/.bin/mocha tests/*.js"
},
"config": {
"blanket": {
"pattern": [ "lib" ],
"data-cover-never": [ "node_modules", "tests" ]
}
}
}

0 comments on commit 181b4fe

Please sign in to comment.