blob: 87e8c4dae897fa7cd1247e793789212677a1e2f7 [file] [log] [blame]
Leo Repp58b9f112021-11-22 11:57:47 +01001# Fix line endings on Windows
2init:
3 - git config --global core.autocrlf true
4# What combinations to test
5environment:
6 matrix:
7 - nodejs_version: "8"
8 - nodejs_version: "10"
9 - nodejs_version: "12"
10platform:
11 - x86
12 - x64
13install:
14 - ps: Install-Product node $env:nodejs_version
15 - npm install
16test_script:
17 # Output useful info for debugging.
18 - node --version && npm --version
19 # We test multiple Windows shells because of prior stdout buffering issues
20 # filed against Grunt. https://github.com/joyent/node/issues/3584
21 - ps: "npm test # PowerShell" # Pass comment to PS for easier debugging
22 - cmd: npm test
23build: off
24matrix:
25 fast_finish: true
26cache:
27 - node_modules -> package.json # local npm modules