forked from webpack-contrib/file-loader
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
45 lines (45 loc) · 1.16 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
branches:
only:
- master
- next
init:
- git config --global core.autocrlf input
cache:
- node_modules
- '%APPDATA%\npm-cache'
environment:
matrix:
- nodejs_version: '6'
webpack_version: latest
job_part: test
- nodejs_version: '8'
webpack_version: latest
job_part: test
- nodejs_version: '10'
webpack_version: latest
job_part: test
- nodejs_version: '11'
webpack_version: latest
job_part: test
- nodejs_version: '8'
webpack_version: next
job_part: test
build: 'off'
matrix:
fast_finish: true
allow_failures:
- nodejs_version: '8'
webpack_version: next
job_part: test
install:
- ps: Install-Product node $env:nodejs_version x64
- npm i -g npm@latest
- npm ci
- npm i -g @webpack-contrib/tag-versions
before_test:
- cmd: npm install webpack@%webpack_version%
test_script:
- node --version
- npm --version
- cmd: FOR /F %%I in ('compver --name webpack --gte %webpack_version% --lt latest') do SET COMPARED_VERSION_RESULT=%%I
- cmd: IF %COMPARED_VERSION_RESULT% NEQ -1 (npm run ci:%job_part%) ELSE (ECHO "Next is older than Latest - Skipping Canary Suite")