Update ci configs

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

@ -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

@ -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

@ -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

Loading…
Cancel
Save