grunt-contrib-jasmine/appveyor.yml
XhmikosR 0e7a8ef16a Update appveyor.yml.
Use variables for cache items.
2015-03-13 17:15:28 +02:00

38 lines
755 B
YAML

# AppVeyor file
# http://www.appveyor.com/docs/appveyor-yml
# Build version format
version: "{build}"
clone_depth: 10
# Fix line endings on Windows
init:
- git config --global core.autocrlf true
# What combinations to test
environment:
matrix:
- nodejs_version: 1
- nodejs_version: 0.12
- nodejs_version: 0.10
install:
- ps: Install-Product node $env:nodejs_version
- npm install -g grunt-cli
- npm install
build: off
test_script:
- node --version && npm --version
- npm test
matrix:
fast_finish: true
cache:
- '%APPDATA%\npm\node_modules -> package.json' # global npm modules
- '%APPDATA%\npm-cache -> package.json' # npm cache
- 'node_modules -> package.json' # local npm modules