2017-01-28 10:15:51 +00:00
|
|
|
# Test against the latest version of this Node.js version
|
|
|
|
environment:
|
2017-08-17 17:49:17 +00:00
|
|
|
matrix:
|
|
|
|
- nodejs_version: "8"
|
2017-12-08 13:25:51 +00:00
|
|
|
- nodejs_version: "9"
|
2017-01-28 10:15:51 +00:00
|
|
|
|
2017-10-19 09:51:48 +00:00
|
|
|
cache:
|
|
|
|
- "%LOCALAPPDATA%\\Yarn"
|
|
|
|
- node_modules
|
|
|
|
|
2017-01-28 10:15:51 +00:00
|
|
|
# Install scripts. (runs after repo cloning)
|
|
|
|
install:
|
|
|
|
# Get the latest stable version of Node.js or io.js
|
|
|
|
- ps: Install-Product node $env:nodejs_version
|
|
|
|
# install modules
|
2017-06-03 08:04:37 +00:00
|
|
|
- yarn install
|
2017-01-28 10:15:51 +00:00
|
|
|
|
|
|
|
# Post-install test scripts.
|
|
|
|
test_script:
|
|
|
|
# Output useful info for debugging.
|
|
|
|
- node --version
|
|
|
|
- npm --version
|
2017-06-03 08:04:37 +00:00
|
|
|
- yarn --version
|
2017-01-28 10:15:51 +00:00
|
|
|
# run tests
|
2018-01-13 05:33:59 +00:00
|
|
|
- yarn test-appveyor
|
2017-01-28 10:15:51 +00:00
|
|
|
|
|
|
|
# Don't actually build.
|
|
|
|
build: off
|