From 2dc83daba9ee4f068b996f1c4edaba2f01eafed8 Mon Sep 17 00:00:00 2001 From: Unitech Date: Fri, 18 Sep 2015 16:34:26 +0200 Subject: [PATCH] run all test with appveyor --- appveyor.yml | 4 ++-- examples/malformated.json | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 examples/malformated.json diff --git a/appveyor.yml b/appveyor.yml index 78877033..309e7a44 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 diff --git a/examples/malformated.json b/examples/malformated.json new file mode 100644 index 00000000..5bcff6b5 --- /dev/null +++ b/examples/malformated.json @@ -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 + }] +}