webpack/appveyor.yml

49 lines
1.3 KiB
YAML
Raw Normal View History

2014-07-31 10:24:05 +02:00
# appveyor file
# http://www.appveyor.com/docs/appveyor-yml
branches:
only:
- master
2017-05-16 14:40:37 +02:00
- next
2014-07-31 10:24:05 +02:00
init:
- git config --global core.autocrlf input
2018-05-24 13:24:43 +02:00
cache:
- "..\\.yarn-cache"
- ".jest-cache"
2014-07-31 10:24:05 +02:00
# what combinations to test
environment:
matrix:
2018-05-24 13:24:43 +02:00
- nodejs_version: 10
job_part: unit
2018-05-24 13:24:43 +02:00
jest: --maxWorkers=2 --cacheDirectory .jest-cache
- nodejs_version: 10
job_part: integration
jest: --maxWorkers=2 --cacheDirectory .jest-cache
- nodejs_version: 6
2018-05-24 13:24:43 +02:00
job_part: integration
jest: --maxWorkers=2 --cacheDirectory .jest-cache
2014-07-31 10:24:05 +02:00
install:
2016-12-14 12:03:24 +01:00
- ps: Install-Product node $env:nodejs_version x64
2018-05-24 13:24:43 +02: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 10:24:05 +02:00
build: off
2015-02-21 13:23:51 +01:00
matrix:
fast_finish: true
2014-07-31 10:24:05 +02:00
test_script:
- node --version
- yarn --version
- cmd: set JEST=%jest%
- cmd: yarn appveyor:%job_part%
2018-05-24 13:24:43 +02:00
- cmd: yarn istanbul report --report lcovonly
- cmd: yarn unlink webpack
- cmd: yarn global add codecov && codecov -F %job_part% --disable=gcov
2018-05-24 13:24:43 +02:00
- cmd: del /F /Q .jest-cache\\haste-map* .jest-cache\\perf-cache* 2> null || Ver > null