Skip to content

Commit

Permalink
Removed coveralls stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcells committed Sep 3, 2017
1 parent bebe64f commit 2182227
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 63 deletions.
59 changes: 3 additions & 56 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,68 +9,20 @@ module.exports = function(grunt) {
configFile: 'eslint.json'
}
},
clean: {
coverage: {
src: ['coverage/']
}
},
copy: {
coverage: {
src: ['test/**'],
dest: 'coverage/'
}
},
blanket: {
coverage: {
src: ['lib/'],
dest: 'coverage/lib/'
}
},
mochaTest: {
library: {
options: {
reporter: 'spec',
require: [ 'should' ]
},
src: ['coverage/test/**/*.js']
src: ['test/**/*.js']
},
watch: {
options: {
reporter: 'dot',
require: [ 'should' ]
},
src: ['test/**/*.js']
},
coverage: {
options: {
reporter: 'html-cov',
require: [ 'should' ],
quiet: true,
captureFile: 'coverage.html'
},
src: ['coverage/test/**/*.js']
},
'travis-cov': {
options: {
reporter: 'travis-cov'
},
src: ['coverage/test/**/*.js']
},
'mocha-lcov-reporter': {
options: {
reporter: 'mocha-lcov-reporter',
quiet: true,
captureFile: 'lcov.info'
},
src: ['coverage/test/**/*.js']
}
},
coveralls: {
options: {
force: true
},
all: {
src: 'lcov.info'
}
},
watch : {
Expand All @@ -85,14 +37,9 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-eslint');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-mocha-test');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-blanket');
grunt.loadNpmTasks('grunt-coveralls');

grunt.registerTask('build', ['clean', 'blanket', 'copy']);
grunt.registerTask('test', ['build', 'mochaTest:library', 'mochaTest:coverage', 'mochaTest:travis-cov', 'mochaTest:mocha-lcov-reporter']);
grunt.registerTask('test', [ 'mochaTest:library' ]);
grunt.registerTask('default', ['eslint', 'test']);
grunt.registerTask('code', ['eslint', 'mochaTest:watch']);
grunt.registerTask('ci', ['default', 'coveralls']);
grunt.registerTask('ci', ['default' ]);
};
8 changes: 1 addition & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,13 @@
"express": "4.15.3",
"grunt": "1.0.1",
"grunt-cli": "1.2.0",
"grunt-blanket": "0.0.10",
"grunt-contrib-clean": "1.1.0",
"grunt-contrib-copy": "1.0.0",
"grunt-contrib-watch": "1.0.0",
"grunt-coveralls": "1.0.1",
"grunt-eslint": "20.1.0",
"grunt-mocha-test": "0.13.2",
"mocha": "3.4.2",
"jade": "1.11.0",
"mocha-lcov-reporter": "1.3.0",
"proxyquire": "1.8.0",
"should": "11.2.1",
"travis-cov": "0.2.5"
"should": "11.2.1"
},
"keywords": [
"blog",
Expand Down

0 comments on commit 2182227

Please sign in to comment.