parent
d08ddf04f6
commit
0b49cf0507
@ -1,29 +1,37 @@
|
|||||||
# appveyor file
|
# AppVeyor file
|
||||||
# http://www.appveyor.com/docs/appveyor-yml
|
# http://www.appveyor.com/docs/appveyor-yml
|
||||||
project_id: "5985958by5rhnh31"
|
|
||||||
|
|
||||||
# build version format
|
# Build version format
|
||||||
version: "{build}"
|
version: "{build}"
|
||||||
|
|
||||||
# fix lineendings in Windows
|
clone_depth: 10
|
||||||
|
|
||||||
|
# Fix line endings on Windows
|
||||||
init:
|
init:
|
||||||
- git config --global core.autocrlf input
|
- git config --global core.autocrlf true
|
||||||
|
|
||||||
# what combinations to test
|
# What combinations to test
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
|
- nodejs_version: 1.0
|
||||||
|
- nodejs_version: 0.12
|
||||||
- nodejs_version: 0.10
|
- nodejs_version: 0.10
|
||||||
|
|
||||||
# Get the latest stable version of Node 0.STABLE.latest
|
|
||||||
install:
|
install:
|
||||||
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
|
- ps: Install-Product node $env:nodejs_version
|
||||||
- npm install -g grunt-cli
|
- npm install -g grunt-cli
|
||||||
- npm install
|
- npm install
|
||||||
|
|
||||||
build: off
|
build: off
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- node --version
|
- node --version && npm --version
|
||||||
- npm --version
|
- npm test
|
||||||
- ps: grunt test --no-color # PowerShell
|
|
||||||
- cmd: grunt test --no-color
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
|
|
||||||
|
cache:
|
||||||
|
- C:\Users\appveyor\AppData\Roaming\npm\node_modules # global npm modules
|
||||||
|
- C:\Users\appveyor\AppData\Roaming\npm-cache # npm cache
|
||||||
|
- node_modules # local npm modules
|
||||||
|
Loading…
Reference in new issue