Skip to content

Commit

Permalink
Update CI configs.
Browse files Browse the repository at this point in the history
* Remove 0.12, 5.0 and io.js; add node 7.0.
* Cache node_modules folder
  • Loading branch information
XhmikosR committed Dec 9, 2016
1 parent ac8a063 commit 39248a9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 14 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
language: node_js

sudo: false

language: node_js

node_js:
- "4"
- "0.12"
- "0.10"
- "4"
- "6"
- "7"

matrix:
fast_finish: true

cache:
directories:
- node_modules
25 changes: 15 additions & 10 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,33 @@
# AppVeyor file
# http://www.appveyor.com/docs/appveyor-yml
clone_depth: 10

version: "{build}"

clone_depth: 10

# What combinations to test
environment:
matrix:
- nodejs_version: "4"
- nodejs_version: "0.12"
- nodejs_version: "0.10"
platform: x86
- nodejs_version: "4"
platform: x64
- nodejs_version: "4"
platform: x86
- nodejs_version: "6"
platform: x86
- nodejs_version: "7"
platform: x86

install:
- ps: Install-Product node $env:nodejs_version
- ps: Install-Product node $env:nodejs_version $env:platform
- npm install

build: off

test_script:
- node --version && npm --version
- npm test

build: off

matrix:
fast_finish: true

cache:
- 'node_modules -> package.json' # local npm modules
- node_modules -> package.json

0 comments on commit 39248a9

Please sign in to comment.