mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-20 18:54:13 +00:00
define karma task for continuous integration
This commit is contained in:
parent
f4ac5dfe8c
commit
142024b818
2 changed files with 6 additions and 1 deletions
|
|
@ -7,6 +7,11 @@ module.exports = function(grunt) {
|
|||
karma: {
|
||||
unit: {
|
||||
configFile: 'karma.conf.js'
|
||||
},
|
||||
continuous: {
|
||||
configFile: 'karma.conf.js',
|
||||
singleRun: true,
|
||||
autoWatch: false
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
"npm": "1.2.x"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "grunt karma",
|
||||
"test": "grunt karma:continuous",
|
||||
"start": "grunt run:dev",
|
||||
"postinstall": "./node_modules/bower/bin/bower install -f"
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue