Update ci configs

pull/520/merge
Kyle Robinson Young 7 years ago
parent d11757447e
commit e3d19dfba8

@ -1,16 +1,16 @@
sudo: false sudo: false
language: node_js language: node_js
node_js: node_js:
- "0.10"
- "0.12"
- "4" - "4"
- "5"
- "6" - "6"
- "7"
- "8" - "8"
before_install: - "9"
- 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: matrix:
fast_finish: true fast_finish: true
cache:
directories:
- node_modules

@ -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 Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation 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, HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE. OTHER DEALINGS IN THE SOFTWARE.

@ -1,31 +1,37 @@
# Fix line endings on Windows clone_depth: 10
init:
- git config --global core.autocrlf true version: "{build}"
# What combinations to test # What combinations to test
environment: environment:
matrix: matrix:
- nodejs_version: "0.10"
- nodejs_version: "0.12"
- nodejs_version: "4" - nodejs_version: "4"
- nodejs_version: "5" platform: x64
- nodejs_version: "4"
platform: x86
- nodejs_version: "6" - nodejs_version: "6"
- nodejs_version: "7" platform: x86
- nodejs_version: "8" - nodejs_version: "8"
platform: platform: x86
- x86 - nodejs_version: "9"
- x64 platform: x86
install: install:
- ps: Install-Product node $env:nodejs_version - ps: Install-Product node $env:nodejs_version $env:platform
- npm install - npm install
test_script: test_script:
# Output useful info for debugging. # Output useful info for debugging
- node --version && npm --version - node --version && npm --version
# We test multiple Windows shells because of prior stdout buffering issues # We test multiple Windows shells because of prior stdout buffering issues
# filed against Grunt. https://github.com/joyent/node/issues/3584 # filed against Grunt. https://github.com/joyent/node/issues/3584
- ps: "npm test # PowerShell" # Pass comment to PS for easier debugging - ps: "npm test # PowerShell" # Pass comment to PS for easier debugging
- cmd: npm test - cmd: npm test
build: off build: off
matrix: matrix:
fast_finish: true fast_finish: true
cache: cache:
- node_modules -> package.json # local npm modules - node_modules -> package.json

Loading…
Cancel
Save