lighthouse/.appveyor.yml

41 строка
1012 B
YAML

clone_depth: 10
version: "{build}"
environment:
matrix:
- nodejs_version: "6.9.1"
platform: x86
- nodejs_version: "7"
platform: x86
build: off
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- 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
- yarn lint
- yarn unit
- yarn smoke
- yarn smokehouse
cache:
#- chrome-win32 -> appveyor.yml,package.json
- node_modules -> appveyor.yml,package.json
- lighthouse-cli\node_modules -> appveyor.yml,package.json,lighthouse-cli\package.json
- lighthouse-extension\node_modules -> appveyor.yml,package.json,lighthouse-extension\package.json
- lighthouse-viewer\node_modules -> appveyor.yml,package.json,lighthouse-viewer\package.json
- "%LOCALAPPDATA%\\Yarn"