run all test with appveyor

This commit is contained in:
Unitech 2015-09-18 16:34:26 +02:00
parent 458cf9566f
commit 2dc83daba9
2 changed files with 18 additions and 2 deletions

View File

@ -14,8 +14,8 @@ test_script:
# Output useful info for debugging.
- node --version
- npm --version
- ps: .\node_modules\.bin\mocha test\programmatic\*.mocha.js --no-exit
- cmd: .\node_modules\.bin\mocha test\programmatic\*.mocha.js --no-exit
- ps: .\node_modules\.bin\mocha test\programmatic\*.js --no-exit
- cmd: .\node_modules\.bin\mocha test\programmatic\*.js --no-exit
# Don't actually build.
build: off

16
examples/malformated.json Normal file
View File

@ -0,0 +1,16 @@
{
"apps" : [{
"exec_interpreter" : "node,
"exec_mode" : "cluster_mode",
"instances" : 0,
"log_date_format" : "YYYY-MM-DD HH:mm Z",
"max_memory_restart" : "160",
"merge_logs" : true,
"name" : "hapi_playground",
"script" : "child.js",
"cwd" : "examples",
"node_args" : "--harmony",
"ignore_watch" : ["[\\/\\\\]\\./", "log"],
"watch" : true
}]
}