Skip to content

Commit 49536bb

Browse files
committed
Update CI configs
1 parent 0bf0a27 commit 49536bb

File tree

2 files changed

+30
-20
lines changed

2 files changed

+30
-20
lines changed

.travis.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
sudo: false
22
language: node_js
33
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+
- npm install -g npm
11+
before_script:
12+
- npm install -g grunt-cli
13+
matrix:
14+
fast_finish: true

appveyor.yml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,30 @@
1-
# AppVeyor file
2-
# http://www.appveyor.com/docs/appveyor-yml
3-
4-
version: "{build}"
5-
6-
clone_depth: 10
7-
1+
# Fix line endings on Windows
2+
init:
3+
- git config --global core.autocrlf true
4+
# What combinations to test
85
environment:
96
matrix:
10-
- nodejs_version: "5"
11-
- nodejs_version: "4"
127
- nodejs_version: "0.10"
13-
8+
- nodejs_version: "0.12"
9+
- nodejs_version: "4"
10+
- nodejs_version: "5"
11+
platform:
12+
- x86
13+
- x64
1414
install:
1515
- ps: Install-Product node $env:nodejs_version
16+
- npm install -g npm
17+
- npm install -g grunt-cli
1618
- npm install
17-
18-
build: off
19-
2019
test_script:
20+
# Output useful info for debugging.
2121
- node --version && npm --version
22-
- npm test
23-
22+
# We test multiple Windows shells because of prior stdout buffering issues
23+
# filed against Grunt. https://github.com/joyent/node/issues/3584
24+
- ps: "npm test # PowerShell" # Pass comment to PS for easier debugging
25+
- cmd: npm test
26+
build: off
2427
matrix:
2528
fast_finish: true
26-
2729
cache:
28-
- 'node_modules -> package.json' # local npm modules
30+
- node_modules -> package.json

0 commit comments

Comments
 (0)