2014-07-31 16:24:05 +08:00
|
|
|
# appveyor file
|
|
|
|
|
# http://www.appveyor.com/docs/appveyor-yml
|
|
|
|
|
|
2017-01-15 23:51:37 +08:00
|
|
|
branches:
|
|
|
|
|
only:
|
2019-10-15 06:41:21 +08:00
|
|
|
- webpack-4
|
2017-01-15 23:51:37 +08:00
|
|
|
- master
|
2017-05-16 20:40:37 +08:00
|
|
|
- next
|
2020-02-26 23:36:03 +08:00
|
|
|
- dev-1
|
2017-01-15 23:51:37 +08:00
|
|
|
|
2014-07-31 16:24:05 +08:00
|
|
|
init:
|
|
|
|
|
- git config --global core.autocrlf input
|
|
|
|
|
|
2018-05-24 19:24:43 +08:00
|
|
|
cache:
|
|
|
|
|
- "..\\.yarn-cache"
|
|
|
|
|
- ".jest-cache"
|
|
|
|
|
|
2014-07-31 16:24:05 +08:00
|
|
|
install:
|
2020-07-23 00:58:34 +08:00
|
|
|
- ps: Install-Product node 14 x64
|
2018-05-24 19:24:43 +08:00
|
|
|
- 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 webpack --frozen-lockfile --preferred-cache-folder ..\\.yarn-cache
|
2014-07-31 16:24:05 +08:00
|
|
|
|
|
|
|
|
build: off
|
2015-02-21 20:23:51 +08:00
|
|
|
|
2016-07-19 00:58:03 +08:00
|
|
|
matrix:
|
|
|
|
|
fast_finish: true
|
|
|
|
|
|
2014-07-31 16:24:05 +08:00
|
|
|
test_script:
|
|
|
|
|
- node --version
|
2016-10-12 15:13:37 +08:00
|
|
|
- yarn --version
|
2018-10-17 15:29:08 +08:00
|
|
|
- cmd: set JEST=--maxWorkers=2 --cacheDirectory .jest-cache
|
2018-09-21 17:33:42 +08:00
|
|
|
- cmd: yarn appveyor:integration
|
2018-05-24 19:24:43 +08:00
|
|
|
- cmd: yarn istanbul report --report lcovonly
|
2018-05-01 17:15:32 +08:00
|
|
|
- cmd: yarn unlink webpack
|
2019-05-22 20:01:02 +08:00
|
|
|
- cmd: yarn global add codecov && codecov -F integration --disable=gcov
|
2018-11-02 18:04:02 +08:00
|
|
|
- cmd: del /F /Q .jest-cache\\haste-map* .jest-cache\\perf-cache* 2> null || Ver > null
|