1 | branches:
|
2 | only:
|
3 | - master
|
4 | - next
|
5 | init:
|
6 | - git config --global core.autocrlf input
|
7 | environment:
|
8 | matrix:
|
9 | - nodejs_version: '8'
|
10 | webpack_version: latest
|
11 | job_part: test
|
12 | - nodejs_version: '6'
|
13 | webpack_version: latest
|
14 | job_part: test
|
15 | - nodejs_version: '8'
|
16 | webpack_version: next
|
17 | job_part: test
|
18 | build: 'off'
|
19 | matrix:
|
20 | fast_finish: true
|
21 | install:
|
22 | - ps: Install-Product node $env:nodejs_version x64
|
23 | - npm i -g npm@latest
|
24 | - npm install
|
25 | before_test:
|
26 | - cmd: npm install webpack@%webpack_version%
|
27 | test_script:
|
28 | - node --version
|
29 | - npm --version
|
30 | - cmd: npm run ci:%job_part%
|