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,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…
Reference in new issue