File tree 2 files changed +19
-26
lines changed
2 files changed +19
-26
lines changed Original file line number Diff line number Diff line change 1
1
sudo : false
2
-
3
2
language : node_js
4
-
5
3
node_js :
6
4
- " 0.10"
7
5
- " 0.12"
8
6
- " 4"
9
7
- " 5"
10
- - " iojs"
11
-
8
+ - " 6"
9
+ - " 7"
10
+ - " 8"
11
+ before_install :
12
+ - if [[ `npm -v` =~ ^[1-2] ]]; then npm i -g npm@3; fi
13
+ before_script :
14
+ - npm uninstall grunt # https://github.com/npm/npm/issues/3958
12
15
matrix :
13
16
fast_finish : true
14
-
15
- cache :
16
- directories :
17
- - node_modules
Original file line number Diff line number Diff line change 1
- clone_depth : 10
2
-
3
- version : " {build}"
4
-
1
+ # Fix line endings on Windows
2
+ init :
3
+ - git config --global core.autocrlf true
5
4
# What combinations to test
6
5
environment :
7
6
matrix :
8
7
- nodejs_version : " 0.10"
9
- platform : x86
10
8
- nodejs_version : " 0.12"
11
- platform : x86
12
9
- nodejs_version : " 4"
13
- platform : x64
14
- - nodejs_version : " 4"
15
- platform : x86
16
10
- nodejs_version : " 5"
17
- platform : x86
18
-
11
+ - nodejs_version : " 6"
12
+ - nodejs_version : " 7"
13
+ - nodejs_version : " 8"
14
+ platform :
15
+ - x86
16
+ - x64
19
17
install :
20
- - ps : Install-Product node $env:nodejs_version $env:platform
18
+ - ps : Install-Product node $env:nodejs_version
21
19
- npm install
22
-
23
20
test_script :
24
- # Output useful info for debugging
21
+ # Output useful info for debugging.
25
22
- node --version && npm --version
26
23
# We test multiple Windows shells because of prior stdout buffering issues
27
24
# filed against Grunt. https://github.com/joyent/node/issues/3584
28
25
- ps : " npm test # PowerShell" # Pass comment to PS for easier debugging
29
26
- cmd : npm test
30
-
31
27
build : off
32
-
33
28
matrix :
34
29
fast_finish : true
35
-
36
30
cache :
37
- - node_modules -> package.json
31
+ - node_modules -> package.json # local npm modules
You can’t perform that action at this time.
0 commit comments