<commit_before>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
  - yarn smoke

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'<commit_msg>tests(appeveyor): exclude perf smoketest until flake is fixed. (#5060)<commit_after>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 ttci

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'
{'fraction_non_alphanumeric': 0.12090592334494774, 'fraction_numerical': 0.016724738675958188, 'mean_word_length': 3.389908256880734, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7096895', 'n_tokens_mistral': 1117, 'n_tokens_neox': 1025, 'n_words': 214}