From 76a1f89e1d226c10ddac5f3b87afa196e83decac Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Thu, 24 May 2018 10:08:20 -0700 Subject: [PATCH] Add appveyor.yml --- appveyor.yml | 22 ++++++++++++++++++++++ package.json | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..b21947b --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,22 @@ +image: Visual Studio 2015 + +environment: + nodejs_version: "8" + +platform: + - x64 + +install: + - ps: Install-Product node $env:nodejs_version + - node --version + - npm --version + - npm install + +test_script: + - npm run test-windows + +build: off + +branches: + only: + - master diff --git a/package.json b/package.json index b896531..b909a51 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ }, "scripts": { "build": "tree-sitter generate && node-gyp build", - "test": "tree-sitter test && script/parse-examples.sh" + "test": "tree-sitter test && script/parse-examples.sh", + "test-windows": "tree-sitter test" } }