forked from inversify/InversifyJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
44 lines (35 loc) · 906 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# AppVeyor file
# http://www.appveyor.com/docs/appveyor-yml
# Build version format
version: "{build}"
# Test against this version of Node.js
environment:
NODE_ENV: test
matrix:
- nodejs_version: "stable"
- nodejs_version: "5.4.1"
- nodejs_version: "5.4.0"
- nodejs_version: "5.3.0"
- nodejs_version: "5.2.0"
- nodejs_version: "5.1.1"
- nodejs_version: "4.4.6"
build: off
branches:
only:
- master
install:
- ps: Install-Product node $env:nodejs_version
- npm install -g npm
- npm install -g typings
- npm config set progress=false
- npm install
- typings install
# Fix line endings on Windows
init:
- git config --global core.autocrlf true
test_script:
# Output useful info for debugging.
- node --version && npm --version
- ps: "npm --version # PowerShell" # Pass comment to PS for easier debugging
- cmd: npm run test
cache: node_modules