Skip to content

Commit

Permalink
Updating ci configs
Browse files Browse the repository at this point in the history
  • Loading branch information
shama committed Apr 20, 2018
1 parent 99410a7 commit d117574
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 26 deletions.
15 changes: 7 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
sudo: false

language: node_js

node_js:
- "0.10"
- "0.12"
- "4"
- "5"
- "iojs"

- "6"
- "7"
- "8"
before_install:
- if [[ `npm -v` =~ ^[1-2] ]]; then npm i -g npm@3; fi
before_script:
- npm uninstall grunt # https://github.com/npm/npm/issues/3958
matrix:
fast_finish: true

cache:
directories:
- node_modules
30 changes: 12 additions & 18 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,31 @@
clone_depth: 10

version: "{build}"

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

- nodejs_version: "6"
- nodejs_version: "7"
- nodejs_version: "8"
platform:
- x86
- x64
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- ps: Install-Product node $env:nodejs_version
- npm install

test_script:
# Output useful info for debugging
# Output useful info for debugging.
- node --version && npm --version
# 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
- node_modules -> package.json # local npm modules

0 comments on commit d117574

Please sign in to comment.