File tree 2 files changed +38
-13
lines changed
2 files changed +38
-13
lines changed Original file line number Diff line number Diff line change 1
1
sudo : false
2
2
language : node_js
3
3
node_js :
4
- - ' 5'
5
- - ' 4'
6
- - ' 0.10'
4
+ - " 0.10"
5
+ - " 0.12"
6
+ - " 4"
7
+ - " 5"
8
+ - " iojs"
9
+ before_install :
10
+ - if [ "$TRAVIS_NODE_VERSION" = "0.10" ]; then npm install -g npm@2; fi
11
+ matrix :
12
+ fast_finish : true
13
+ cache :
14
+ directories :
15
+ - node_modules
Original file line number Diff line number Diff line change 1
- # AppVeyor file
2
1
# http://www.appveyor.com/docs/appveyor-yml
3
2
4
- version : " {build}"
5
-
6
3
clone_depth : 10
7
4
5
+ version : " {build}"
6
+
7
+ # What combinations to test
8
8
environment :
9
9
matrix :
10
- - nodejs_version : " 5"
11
- - nodejs_version : " 4"
12
10
- nodejs_version : " 0.10"
11
+ platform : x86
12
+ - nodejs_version : " 0.12"
13
+ platform : x86
14
+ - nodejs_version : " 4"
15
+ platform : x64
16
+ - nodejs_version : " 4"
17
+ platform : x86
18
+ - nodejs_version : " 5"
19
+ platform : x86
13
20
14
21
install :
15
- - ps : Install-Product node $env:nodejs_version
22
+ - ps : Install-Product node $env:nodejs_version $env:platform
23
+ - ps : >-
24
+ if ($env:nodejs_version -eq "0.10") {
25
+ npm -g install npm@2
26
+ $env:PATH="$env:APPDATA\npm;$env:PATH"
27
+ }
16
28
- npm install
17
29
18
- build : off
19
-
20
30
test_script :
31
+ # Output useful info for debugging
21
32
- node --version && npm --version
22
- - npm test
33
+ # We test multiple Windows shells because of prior stdout buffering issues
34
+ # filed against Grunt. https://github.com/joyent/node/issues/3584
35
+ - ps : " npm test # PowerShell" # Pass comment to PS for easier debugging
36
+ - cmd : npm test
37
+
38
+ build : off
23
39
24
40
matrix :
25
41
fast_finish : true
26
42
27
43
cache :
28
- - ' node_modules -> package.json' # local npm modules
44
+ - node_modules -> package.json
You can’t perform that action at this time.
0 commit comments