Skip to content

Commit

Permalink
Update CI configs
Browse files Browse the repository at this point in the history
  • Loading branch information
shama committed Jan 30, 2016
1 parent dc239f1 commit dd47c86
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 20 deletions.
14 changes: 11 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
sudo: false
language: node_js
node_js:
- '5'
- '4'
- '0.10'
- "0.10"
- "0.12"
- "4"
- "5"
- "iojs"
before_install:
- npm install -g npm
before_script:
- npm install -g grunt-cli
matrix:
fast_finish: true
38 changes: 21 additions & 17 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,32 @@
# AppVeyor file
# http://www.appveyor.com/docs/appveyor-yml

version: "{build}"

clone_depth: 10

# Fix line endings on Windows
init:
- git config --global core.autocrlf true
# What combinations to test
environment:
matrix:
- nodejs_version: "5"
- nodejs_version: "4"
- nodejs_version: "0.10"

- nodejs_version: "0.12"
- nodejs_version: "4"
- nodejs_version: "5"
platform:
- x86
- x64
install:
- ps: Install-Product node $env:nodejs_version
- npm install -g npm
- npm install -g grunt-cli
- npm install

build: off

test_script:
# Output useful info for debugging.
- node --version && npm --version
- npm test

# We test multiple Windows shells because of prior stdout buffering issues
# filed against Grunt. https://github.com/joyent/node/issues/3584
- ps: "npm test # PowerShell" # Pass comment to PS for easier debugging
- cmd: npm test
build: off
matrix:
fast_finish: true

cache:
- 'node_modules -> package.json' # local npm modules
- C:\Users\appveyor\AppData\Roaming\npm\node_modules -> package.json # global npm modules
- C:\Users\appveyor\AppData\Roaming\npm-cache -> package.json # npm cache
- node_modules -> package.json # local npm modules

0 comments on commit dd47c86

Please sign in to comment.