This patch: - starts using '&&' instead of '&' so that any failed commands results in build failure - removes test-node6-transformer step from the node6 target
19 lines
365 B
YAML
19 lines
365 B
YAML
environment:
|
|
matrix:
|
|
- nodejs_version: "6"
|
|
- nodejs_version: "7"
|
|
|
|
build: off
|
|
|
|
install:
|
|
- ps: Install-Product node $env:nodejs_version
|
|
- yarn install
|
|
- if "%nodejs_version%" == "7" (
|
|
yarn run lint &&
|
|
yarn run coverage &&
|
|
yarn run test-doclint
|
|
) else (
|
|
yarn run build &&
|
|
yarn run unit-node6
|
|
)
|