2017-01-28 10:15:51 +00:00
|
|
|
# Test against the latest version of this Node.js version
|
|
|
|
environment:
|
|
|
|
nodejs_version: "6"
|
|
|
|
|
|
|
|
# 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
|
2017-06-03 08:04:37 +00:00
|
|
|
- yarn run test
|
2017-01-28 10:15:51 +00:00
|
|
|
|
|
|
|
# Don't actually build.
|
|
|
|
build: off
|