2017-05-16 18:15:08 +00:00
|
|
|
environment:
|
2017-05-16 19:04:14 +00:00
|
|
|
matrix:
|
|
|
|
- nodejs_version: "6"
|
2017-05-16 18:15:08 +00:00
|
|
|
|
|
|
|
# Install scripts. (runs after repo cloning)
|
|
|
|
install:
|
|
|
|
# Install Google Chrome for e2e testing
|
2017-06-06 12:57:58 +00:00
|
|
|
- choco install --ignore-checksums googlechrome
|
2017-05-16 18:15:08 +00:00
|
|
|
# Get the latest stable version of Node.js or io.js
|
|
|
|
- ps: Install-Product node $env:nodejs_version
|
|
|
|
# install modules
|
|
|
|
- npm install
|
|
|
|
|
|
|
|
# Post-install test scripts.
|
|
|
|
test_script:
|
|
|
|
# Output useful info for debugging.
|
|
|
|
- node --version
|
|
|
|
- npm --version
|
|
|
|
# run tests
|
|
|
|
- npm test
|
|
|
|
|
|
|
|
# Don't actually build.
|
|
|
|
build: off
|