1 | # Test against this version of Node.js
|
2 | environment:
|
3 | matrix:
|
4 | # node.js
|
5 | - nodejs_version: "8"
|
6 |
|
7 | # Install scripts. (runs after repo cloning)
|
8 | install:
|
9 | # Get the latest stable version of Node.js or io.js
|
10 | - ps: Install-Product node $env:nodejs_version
|
11 | # remove unused modules from node_modules directory
|
12 | - npm prune
|
13 | # install modules
|
14 | - npm run bootstrap
|
15 |
|
16 | # Post-install test scripts.
|
17 | test_script:
|
18 | # run tests
|
19 | - npm test
|
20 |
|
21 | # nothing to compile in this project
|
22 | build: off
|
23 | deploy: off
|