summaryrefslogtreecommitdiff
path: root/.expeditor/scripts/bk_win_integration.ps1
blob: 311feb403c58d19e7b73a31edbf0a8a3eca70f30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$CurrentDirectory = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
$PrepScript = Join-Path $CurrentDirectory "bk_win_prep.ps1"
Invoke-Expression $PrepScript

Set-Item -Path Env:Path -Value ("C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;" + $Env:Path)

winrm quickconfig -q

Write-Output "--- Verifying the Windows version we're running on"
Write-Output (Get-WMIObject win32_operatingsystem).name

Write-Output  "+++ bundle exec rake spec:integration"
bundle exec rake spec:integration
if (-not $?) { throw "Chef integration specs failing." }