forked from webpack/webpack
-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
35 lines (28 loc) · 972 Bytes
/
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
# appveyor file
# http://www.appveyor.com/docs/appveyor-yml
branches:
only:
- master
- next
init:
- git config --global core.autocrlf input
cache:
- "..\\.yarn-cache"
- ".jest-cache"
install:
- ps: Install-Product node 10 x64
- 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
build: off
matrix:
fast_finish: true
test_script:
- node --version
- yarn --version
- cmd: set JEST=--maxWorkers=2 --cacheDirectory .jest-cache
- cmd: yarn appveyor:integration
- cmd: yarn istanbul report --report lcovonly
- cmd: yarn unlink webpack
- cmd: yarn global add codecov && codecov -F %job_part% --disable=gcov
- cmd: del /F /Q .jest-cache\\haste-map* .jest-cache\\perf-cache* 2> null || Ver > null