lighthouse/.appveyor.yml

47 строки
1.0 KiB
YAML

clone_depth: 10
version: "{build}"
branches:
only:
- master
environment:
fast_finish: true
matrix:
- nodejs_version: "10"
platform: x86
build: off
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- npm install yarn -g
- yarn
before_test:
- set "PATH=C:\MinGW\msys\1.0\bin;%PATH%"
- set "CHROME_PATH=%CD%\chrome-win32\chrome.exe"
- bash ./lighthouse-core/scripts/download-chrome.sh
- yarn build-all
test_script:
- node --version
- npm --version
- yarn --version
- which yarn
- yarn lint
- yarn unit-core --runInBand
- yarn unit-cli
- yarn unit-viewer
- yarn type-check
# FIXME: Exclude Appveyor from running `perf` smoketest until we fix the flake.
# https://github.com/GoogleChrome/lighthouse/issues/5053
# - yarn smoke
- yarn smoke a11y pwa pwa2 pwa3 dbw redirects seo offline byte metrics
cache:
#- chrome-win32 -> appveyor.yml,package.json
- node_modules -> appveyor.yml,package.json,yarn.lock
- '%LOCALAPPDATA%\Yarn -> appveyor.yml,package.json,yarn.lock'