|
| 1 | +# AppVeyor file |
1 | 2 | # http://www.appveyor.com/docs/appveyor-yml
|
2 | 3 |
|
3 |
| -# Fix line endings in Windows. (runs before repo cloning) |
| 4 | +# Build version format |
| 5 | +version: "{build}" |
| 6 | + |
| 7 | +clone_depth: 10 |
| 8 | + |
| 9 | +# Fix line endings on Windows |
4 | 10 | init:
|
5 |
| - - git config --global core.autocrlf input |
| 11 | + - git config --global core.autocrlf true |
6 | 12 |
|
7 |
| -# Test against these versions of Node.js. |
| 13 | +# What combinations to test |
8 | 14 | environment:
|
9 | 15 | matrix:
|
10 |
| - - nodejs_version: "0.10" |
11 |
| - - nodejs_version: "0.8" |
12 |
| - - nodejs_version: "0.11" |
| 16 | + - nodejs_version: 1.0 |
| 17 | + - nodejs_version: 0.12 |
| 18 | + - nodejs_version: 0.10 |
| 19 | + - nodejs_version: 0.8 |
13 | 20 |
|
14 |
| -# Allow failing jobs for bleeding-edge Node.js versions. |
15 |
| -matrix: |
16 |
| - allow_failures: |
17 |
| - - nodejs_version: "0.11" |
18 |
| - |
19 |
| -# Install scripts. (runs after repo cloning) |
20 | 21 | install:
|
21 |
| - # Get the latest stable version of Node 0.STABLE.latest |
22 | 22 | - ps: Install-Product node $env:nodejs_version
|
23 |
| - # Typical npm stuff. |
24 |
| - - npm install |
25 |
| - # Grunt-specific stuff. |
26 | 23 | - npm install -g grunt-cli
|
27 |
| - - npm uninstall grunt # https://github.com/npm/npm/issues/3958 |
| 24 | + - npm install |
| 25 | + |
| 26 | +build: off |
28 | 27 |
|
29 |
| -# Post-install test scripts. |
30 | 28 | test_script:
|
31 | 29 | # Output useful info for debugging.
|
32 |
| - - node --version |
33 |
| - - npm --version |
| 30 | + - node --version && npm --version |
34 | 31 | # We test multiple Windows shells because of prior stdout buffering issues
|
35 | 32 | # filed against Grunt. https://github.com/joyent/node/issues/3584
|
36 | 33 | - ps: "npm test # PowerShell" # Pass comment to PS for easier debugging
|
37 | 34 | - cmd: npm test
|
38 | 35 |
|
39 |
| -# Don't actually build. |
40 |
| -build: off |
| 36 | +matrix: |
| 37 | + fast_finish: true |
41 | 38 |
|
42 |
| -# Set build version format here instead of in the admin panel. |
43 |
| -version: "{build}" |
| 39 | +cache: |
| 40 | + - C:\Users\appveyor\AppData\Roaming\npm\node_modules # global npm modules |
| 41 | + - C:\Users\appveyor\AppData\Roaming\npm-cache # npm cache |
| 42 | + - node_modules # local npm modules |
0 commit comments