-
-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f799569
commit a80cdb1
Showing
1 changed file
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,41 @@ | ||
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: '6' | ||
- nodejs_version: '10' | ||
webpack_version: latest | ||
job_part: test | ||
- nodejs_version: '8' | ||
webpack_version: 4.0.0 | ||
- nodejs_version: '11' | ||
webpack_version: latest | ||
job_part: test | ||
- nodejs_version: '6' | ||
webpack_version: next | ||
job_part: next | ||
build: 'off' | ||
matrix: | ||
fast_finish: true | ||
install: | ||
- ps: Install-Product node $env:nodejs_version x64 | ||
- npm i -g npm@latest | ||
- npm install | ||
- npm ci | ||
- npm i -g @webpack-contrib/tag-versions | ||
before_test: | ||
- cmd: npm install webpack@%webpack_version% | ||
test_script: | ||
- node --version | ||
- npm --version | ||
- cmd: npm run appveyor:%job_part% | ||
- 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 appveyor:test) ELSE (ECHO "Next is older than Latest - Skipping Canary Suite") |