forked from GoogleChrome/lighthouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
51 lines (43 loc) · 1.45 KB
/
.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
clone_depth: 10
version: "{build}"
branches:
only:
- master
environment:
fast_finish: true
matrix:
- nodejs_version: "8"
platform: x86
# other Node versions are skipped, as appveyor only allows 1 concurrent job
# and we want appveyor finishing ASAP. see #2382
# - nodejs_version: "9"
# platform: x86
build: off
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- npm install yarn -g
- yarn
- yarn install-all
before_test:
- set "PATH=C:\MinGW\msys\1.0\bin;%PATH%"
- set "LIGHTHOUSE_CHROMIUM_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
- 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 ally pwa pwa2 pwa3 dbw redirects seo offline byte tti
cache:
#- chrome-win32 -> appveyor.yml,package.json
- node_modules -> appveyor.yml,package.json,yarn.lock
- lighthouse-extension\node_modules -> appveyor.yml,package.json,yarn.lock,lighthouse-extension\package.json,lighthouse-extension\yarn.lock
- lighthouse-viewer\node_modules -> appveyor.yml,package.json,yarn.lock,lighthouse-viewer\package.json,lighthouse-viewer\yarn.lock
- '%LOCALAPPDATA%\Yarn -> appveyor.yml,package.json,yarn.lock'