File tree 3 files changed +29
-23
lines changed
3 files changed +29
-23
lines changed Original file line number Diff line number Diff line change 1
1
sudo : false
2
+
2
3
language : node_js
4
+
3
5
node_js :
4
- - " 0.10"
5
- - " 0.12"
6
6
- " 4"
7
- - " 5"
8
7
- " 6"
9
- - " 7"
10
8
- " 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
9
+ - " 9"
10
+
15
11
matrix :
16
12
fast_finish : true
13
+
14
+ cache :
15
+ directories :
16
+ - node_modules
Original file line number Diff line number Diff line change 1
- Copyright (c) 2016 "Cowboy" Ben Alman, contributors
1
+ Copyright (c) 2018 "Cowboy" Ben Alman, contributors
2
2
3
3
Permission is hereby granted, free of charge, to any person
4
4
obtaining a copy of this software and associated documentation
@@ -19,4 +19,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
19
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
20
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
21
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
- OTHER DEALINGS IN THE SOFTWARE.
22
+ OTHER DEALINGS IN THE SOFTWARE.
Original file line number Diff line number Diff line change 1
- # Fix line endings on Windows
2
- init :
3
- - git config --global core.autocrlf true
1
+ clone_depth : 10
2
+
3
+ version : " {build}"
4
+
4
5
# What combinations to test
5
6
environment :
6
7
matrix :
7
- - nodejs_version : " 0.10"
8
- - nodejs_version : " 0.12"
9
8
- nodejs_version : " 4"
10
- - nodejs_version : " 5"
9
+ platform : x64
10
+ - nodejs_version : " 4"
11
+ platform : x86
11
12
- nodejs_version : " 6"
12
- - nodejs_version : " 7 "
13
+ platform : x86
13
14
- nodejs_version : " 8"
14
- platform :
15
- - x86
16
- - x64
15
+ platform : x86
16
+ - nodejs_version : " 9"
17
+ platform : x86
18
+
17
19
install :
18
- - ps : Install-Product node $env:nodejs_version
20
+ - ps : Install-Product node $env:nodejs_version $env:platform
19
21
- npm install
22
+
20
23
test_script :
21
- # Output useful info for debugging.
24
+ # Output useful info for debugging
22
25
- node --version && npm --version
23
26
# We test multiple Windows shells because of prior stdout buffering issues
24
27
# filed against Grunt. https://github.com/joyent/node/issues/3584
25
28
- ps : " npm test # PowerShell" # Pass comment to PS for easier debugging
26
29
- cmd : npm test
30
+
27
31
build : off
32
+
28
33
matrix :
29
34
fast_finish : true
35
+
30
36
cache :
31
- - node_modules -> package.json # local npm modules
37
+ - node_modules -> package.json
You can’t perform that action at this time.
0 commit comments