| Leo Repp | 58b9f11 | 2021-11-22 11:57:47 +0100 | [diff] [blame^] | 1 | # Fix line endings on Windows |
| 2 | init: |
| 3 | - git config --global core.autocrlf true |
| 4 | # What combinations to test |
| 5 | environment: |
| 6 | matrix: |
| 7 | - nodejs_version: "8" |
| 8 | - nodejs_version: "10" |
| 9 | - nodejs_version: "12" |
| 10 | platform: |
| 11 | - x86 |
| 12 | - x64 |
| 13 | install: |
| 14 | - ps: Install-Product node $env:nodejs_version |
| 15 | - npm install |
| 16 | test_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 |
| 23 | build: off |
| 24 | matrix: |
| 25 | fast_finish: true |
| 26 | cache: |
| 27 | - node_modules -> package.json # local npm modules |