summaryrefslogtreecommitdiff
path: root/scripts/bk_tests/bk_win_unit.ps1
blob: c064cb179d8b1c9bb5e45b5e794b03d854ccf10f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
echo "--- system details"
$Properties = 'Caption', 'CSName', 'Version', 'BuildType', 'OSArchitecture'
Get-CimInstance Win32_OperatingSystem | Select-Object $Properties | Format-Table -AutoSize
ruby -v
bundle --version

echo "--- bundle install"
bundle config set --local without omnibus_package docgen chefstyle
bundle install --jobs=3 --retry=3

echo "+++ bundle exec rake"
bundle exec rake spec:unit
bundle exec rake component_specs

exit $LASTEXITCODE