diff --git a/.travis.yml b/.travis.yml index 265a44e..0cdf587 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/LICENSE-MIT b/LICENSE-MIT index 6e68bd4..50942b3 100644 --- a/LICENSE-MIT +++ b/LICENSE-MIT @@ -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 @@ -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. \ No newline at end of file +OTHER DEALINGS IN THE SOFTWARE. diff --git a/appveyor.yml b/appveyor.yml index 7ac4c0e..be50138 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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