2016-12-23 20:49:44 +03:00
|
|
|
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
|
2017-04-26 22:40:51 +03:00
|
|
|
- yarn
|
|
|
|
- yarn install-all
|
2016-12-23 20:49:44 +03:00
|
|
|
|
|
|
|
before_test:
|
2017-01-29 13:46:42 +03:00
|
|
|
- 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
|
2017-04-26 22:40:51 +03:00
|
|
|
- yarn build-all
|
2016-12-23 20:49:44 +03:00
|
|
|
|
|
|
|
test_script:
|
|
|
|
- node --version
|
|
|
|
- npm --version
|
2017-04-26 22:40:51 +03:00
|
|
|
- yarn --version
|
|
|
|
- yarn lint
|
|
|
|
- yarn unit
|
|
|
|
- yarn smoke
|
|
|
|
- yarn smokehouse
|
2016-12-23 20:49:44 +03:00
|
|
|
|
|
|
|
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
|
2017-04-26 22:40:51 +03:00
|
|
|
- "%LOCALAPPDATA%\\Yarn"
|