mirror of https://github.com/webpack/webpack.git
Reduce the appveyor CI tasks
This commit is contained in:
parent
d004449cba
commit
f8bc2519db
19
appveyor.yml
19
appveyor.yml
|
|
@ -13,21 +13,8 @@ cache:
|
||||||
- "..\\.yarn-cache"
|
- "..\\.yarn-cache"
|
||||||
- ".jest-cache"
|
- ".jest-cache"
|
||||||
|
|
||||||
# what combinations to test
|
|
||||||
environment:
|
|
||||||
matrix:
|
|
||||||
- nodejs_version: 10
|
|
||||||
job_part: unit
|
|
||||||
jest: --maxWorkers=2 --cacheDirectory .jest-cache
|
|
||||||
- nodejs_version: 10
|
|
||||||
job_part: integration
|
|
||||||
jest: --maxWorkers=2 --cacheDirectory .jest-cache
|
|
||||||
- nodejs_version: 6
|
|
||||||
job_part: integration
|
|
||||||
jest: --maxWorkers=2 --cacheDirectory .jest-cache
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- ps: Install-Product node $env:nodejs_version x64
|
- ps: Install-Product node 10 x64
|
||||||
- yarn --frozen-lockfile --preferred-cache-folder ..\\.yarn-cache
|
- yarn --frozen-lockfile --preferred-cache-folder ..\\.yarn-cache
|
||||||
- yarn link --frozen-lockfile --preferred-cache-folder ..\\.yarn-cache || yarn link --frozen-lockfile --preferred-cache-folder ..\\.yarn-cache
|
- yarn link --frozen-lockfile --preferred-cache-folder ..\\.yarn-cache || yarn link --frozen-lockfile --preferred-cache-folder ..\\.yarn-cache
|
||||||
- yarn link webpack --frozen-lockfile --preferred-cache-folder ..\\.yarn-cache
|
- yarn link webpack --frozen-lockfile --preferred-cache-folder ..\\.yarn-cache
|
||||||
|
|
@ -40,8 +27,8 @@ matrix:
|
||||||
test_script:
|
test_script:
|
||||||
- node --version
|
- node --version
|
||||||
- yarn --version
|
- yarn --version
|
||||||
- cmd: set JEST=%jest%
|
- cmd: set JEST=--maxWorkers=2 --cacheDirectory .jest-cache
|
||||||
- cmd: yarn appveyor:%job_part%
|
- cmd: yarn appveyor:integration
|
||||||
- cmd: yarn istanbul report --report lcovonly
|
- cmd: yarn istanbul report --report lcovonly
|
||||||
- cmd: yarn unlink webpack
|
- cmd: yarn unlink webpack
|
||||||
- cmd: yarn global add codecov && codecov -F %job_part% --disable=gcov
|
- cmd: yarn global add codecov && codecov -F %job_part% --disable=gcov
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue