Add appveyor.yml

This commit is contained in:
Max Brunsfeld 2018-05-24 10:08:20 -07:00
parent 9d7da69b7c
commit 76a1f89e1d
2 changed files with 24 additions and 1 deletions

22
appveyor.yml Normal file
View File

@ -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

View File

@ -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"
}
}