2018-03-13 14:44:14 +00:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- nodejs_version: "6.12.3"
|
|
|
|
- nodejs_version: "7.10.1"
|
|
|
|
|
|
|
|
build: off
|
|
|
|
|
|
|
|
install:
|
|
|
|
- ps: Install-Product node $env:nodejs_version
|
|
|
|
- npm install
|
|
|
|
- if "%nodejs_version%" == "7.10.1" (
|
|
|
|
npm run lint &&
|
|
|
|
npm run coverage &&
|
|
|
|
npm run test-doclint
|
|
|
|
) else (
|
|
|
|
npm run unit-node6
|
|
|
|
)
|