Skip to content

Commit

Permalink
appveyor.yml: Add support for Windows
Browse files Browse the repository at this point in the history
This runs the tests on Appveyor CI (basically windows)
so as to keep it from breaking.

Closes #450
  • Loading branch information
abhishalya committed Aug 24, 2019
1 parent 65e88bb commit 7d5d62c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 7d5d62c

Please sign in to comment.