Skip to content

Commit

Permalink
Update ci configs
Browse files Browse the repository at this point in the history
  • Loading branch information
shama committed Apr 20, 2018
1 parent d117574 commit e3d19df
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 23 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
sudo: false

language: node_js

node_js:
- "0.10"
- "0.12"
- "4"
- "5"
- "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
- "9"

matrix:
fast_finish: true

cache:
directories:
- node_modules
4 changes: 2 additions & 2 deletions LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016 "Cowboy" Ben Alman, contributors
Copyright (c) 2018 "Cowboy" Ben Alman, contributors

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand All @@ -19,4 +19,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
OTHER DEALINGS IN THE SOFTWARE.
32 changes: 19 additions & 13 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,37 @@
# Fix line endings on Windows
init:
- git config --global core.autocrlf true
clone_depth: 10

version: "{build}"

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

install:
- ps: Install-Product node $env:nodejs_version
- ps: Install-Product node $env:nodejs_version $env:platform
- 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 # local npm modules
- node_modules -> package.json

0 comments on commit e3d19df

Please sign in to comment.