UNPKG

940 BYAMLView Raw
1# http://www.appveyor.com/docs/appveyor-yml
2
3# Fix line endings in Windows. (runs before repo cloning)
4init:
5 - git config --global core.autocrlf input
6
7# Test against these versions of Node.js.
8environment:
9 matrix:
10 - nodejs_version: "0.10"
11 - nodejs_version: "0.8"
12 - nodejs_version: "0.11"
13
14# Allow failing jobs for bleeding-edge Node.js versions.
15matrix:
16 allow_failures:
17 - nodejs_version: "0.11"
18
19# Install scripts. (runs after repo cloning)
20install:
21 # Get the latest stable version of Node 0.STABLE.latest
22 - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
23 # Typical npm stuff.
24 - npm install
25
26# Post-install test scripts.
27test_script:
28 # Output useful info for debugging.
29 - ps: "npm test # PowerShell" # Pass comment to PS for easier debugging
30 - cmd: npm test
31
32# Don't actually build.
33build: off
34
35# Set build version format here instead of in the admin panel.
36version: "{build}"