1 | # http://www.appveyor.com/docs/appveyor-yml
|
2 |
|
3 | # Fix line endings in Windows. (runs before repo cloning)
|
4 | init:
|
5 | - git config --global core.autocrlf true
|
6 |
|
7 | # Test against these versions of Node.js.
|
8 | environment:
|
9 | matrix:
|
10 | - nodejs_version: "0.12"
|
11 | - nodejs_version: "4.2"
|
12 | - nodejs_version: "5.0"
|
13 |
|
14 | # Install scripts. (runs after repo cloning)
|
15 | install:
|
16 | - git rev-parse HEAD
|
17 | # Get the latest stable version of Node 0.STABLE.latest
|
18 | - ps: Install-Product node $env:nodejs_version
|
19 | # Typical npm stuff.
|
20 | - md C:\nc
|
21 | - npm config set cache C:\nc
|
22 | - npm version
|
23 | - npm install
|
24 | - npm install typescript
|
25 |
|
26 | # Post-install test scripts.
|
27 | test_script:
|
28 | # Output useful info for debugging.
|
29 | - npm version
|
30 | - cmd: npm run test
|
31 |
|
32 | # Don't actually build.
|
33 | build: off
|
34 |
|
35 | # Set build version format here instead of in the admin panel.
|
36 | version: "{build}"
|