Merge pull request #451 from abhishalya/appveyorCI

appveyor.yml: Add support for Windows
This commit is contained in:
Trevor Brown 2019-11-02 10:31:05 -04:00 committed by GitHub
commit 0bc07ddfbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
appveyor.yml Normal file
View File

@ -0,0 +1,18 @@
clone_depth: 50
install:
- ps: Install-Product node $env:nodejs_version
- npm cache clear --force
- ps: >-
if ($env:nodejs_version -eq "4") {
npm install npm@latest-5 -g
} else {
npm install npm@latest -g
}
- npm --version
- npm install -g bats
build: false
test_script:
- C:\cygwin\bin\bash -lc "export PATH="/usr/bin:/usr/local/bin:/cygdrive/c/Users/appveyor/AppData/Roaming/npm" && cd $APPVEYOR_BUILD_FOLDER && bats test"