blob: d2d5762b70ebd2f773a49c6468fa7ffc965fc5ed [file] [log] [blame]
# appveyor file
# http://www.appveyor.com/docs/appveyor-yml
environment:
matrix:
- nodejs_version: "4"
- nodejs_version: "6"
- nodejs_version: "8"
- nodejs_version: "10"
install:
- ps: Install-Product node $env:nodejs_version
- npm install
# Workaround for npm/npm#10343 when dependency of linked module is moved to dependent
# module's 'node_modules' In our case 'cordova-common' -> jshint' -> 'cli' dependency
# is moved to 'cordova-lib' and hence 'npm run jshint' on 'cordova-common' is failing
#- cd cordova-common
#- npm install
#- cd ../cordova-fetch
#- npm install
#- npm link ../cordova-common
#- cd ../
build: off
test_script:
# Workaround for https://github.com/appveyor/ci/issues/2420
- set "PATH=%PATH%;C:\Program Files\Git\mingw64\libexec\git-core"
- node --version
- npm --version
- "npm test"