grunt-contrib-jasmine/appveyor.yml

36 lines
645 B
YAML
Raw Normal View History

2015-02-27 16:08:09 +08:00
# AppVeyor file
2014-06-08 06:54:35 +08:00
# http://www.appveyor.com/docs/appveyor-yml
2015-02-27 16:08:09 +08:00
# Build version format
2014-06-08 06:54:35 +08:00
version: "{build}"
2015-02-27 16:08:09 +08:00
clone_depth: 10
# Fix line endings on Windows
2014-06-08 06:54:35 +08:00
init:
2015-02-27 16:08:09 +08:00
- git config --global core.autocrlf true
2014-06-08 06:54:35 +08:00
2015-02-27 16:08:09 +08:00
# What combinations to test
2014-06-08 06:54:35 +08:00
environment:
matrix:
2015-03-04 18:21:24 +08:00
- nodejs_version: 1
2015-02-27 16:08:09 +08:00
- nodejs_version: 0.12
2014-06-08 06:54:35 +08:00
- nodejs_version: 0.10
install:
2015-02-27 16:08:09 +08:00
- ps: Install-Product node $env:nodejs_version
2014-06-08 06:54:35 +08:00
- npm install
build: off
test_script:
2015-02-27 16:08:09 +08:00
- node --version && npm --version
- npm test
matrix:
fast_finish: true
cache:
- '%APPDATA%\npm-cache -> package.json' # npm cache
- 'node_modules -> package.json' # local npm modules