Skip to content

Commit d117574

Browse files
committed
Updating ci configs
1 parent 99410a7 commit d117574

File tree

2 files changed

+19
-26
lines changed

2 files changed

+19
-26
lines changed

Diff for: .travis.yml

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
sudo: false
2-
32
language: node_js
4-
53
node_js:
64
- "0.10"
75
- "0.12"
86
- "4"
97
- "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
1215
matrix:
1316
fast_finish: true
14-
15-
cache:
16-
directories:
17-
- node_modules

Diff for: appveyor.yml

+12-18
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,31 @@
1-
clone_depth: 10
2-
3-
version: "{build}"
4-
1+
# Fix line endings on Windows
2+
init:
3+
- git config --global core.autocrlf true
54
# What combinations to test
65
environment:
76
matrix:
87
- nodejs_version: "0.10"
9-
platform: x86
108
- nodejs_version: "0.12"
11-
platform: x86
129
- nodejs_version: "4"
13-
platform: x64
14-
- nodejs_version: "4"
15-
platform: x86
1610
- 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
1917
install:
20-
- ps: Install-Product node $env:nodejs_version $env:platform
18+
- ps: Install-Product node $env:nodejs_version
2119
- npm install
22-
2320
test_script:
24-
# Output useful info for debugging
21+
# Output useful info for debugging.
2522
- node --version && npm --version
2623
# We test multiple Windows shells because of prior stdout buffering issues
2724
# filed against Grunt. https://github.com/joyent/node/issues/3584
2825
- ps: "npm test # PowerShell" # Pass comment to PS for easier debugging
2926
- cmd: npm test
30-
3127
build: off
32-
3328
matrix:
3429
fast_finish: true
35-
3630
cache:
37-
- node_modules -> package.json
31+
- node_modules -> package.json # local npm modules

0 commit comments

Comments
 (0)