Skip to content

Commit

Permalink
Add appveyor config
Browse files Browse the repository at this point in the history
  • Loading branch information
aeldar committed Oct 3, 2017
1 parent 8e02fb2 commit a12d52a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
environment:
global:
CI: true

matrix:
- nodejs_version: "8" # latest 8
- nodejs_version: "7" # latest 7
- nodejs_version: "6" # latest 6

# build version format
version: "{build}"

cache:
- '%APPDATA%\npm-cache' # npm cache
- node_modules -> package.json # better point to npm-shrinkwrap.json or package-lock.json

install:
- ps: Install-Product node $env:nodejs_version
- npm install

# no appveyor build step for js project
build: off

test_script:
- node --version
- npm --version
- npm test

after_test:
- npm run build

0 comments on commit a12d52a

Please sign in to comment.