UNPKG

758 BYAMLView Raw
1platform:
2- x64
3environment:
4 nodejs_version: "6"
5 matrix:
6 - node_installer: yarn
7cache:
8- 'node_modules'
9- '%USERPROFILE%\.electron'
10branches:
11 only:
12 - master
13 - 5.x
14
15install:
16- ps: Install-Product node $env:nodejs_version $env:platform
17- set PATH=%APPDATA%\npm;%PATH%
18- yarn
19- ps: |
20 $wixToolsetBinPath = ";C:\Program Files (x86)\WiX Toolset v3.11\bin;"
21 $env:PATH = $env:PATH + $wixToolsetBinPath
22 [Environment]::SetEnvironmentVariable("Path", $env:PATH, [EnvironmentVariableTarget]::Machine)
23 if ((Get-Command "light.exe" -ErrorAction SilentlyContinue) -eq $null)
24 {
25 Write-Host "Unable to find light.exe in your PATH"
26 }
27
28test_script:
29- node --version
30- yarn --version
31- yarn test --installer=%node_installer%
32
33build: off