summaryrefslogtreecommitdiff
path: root/.expeditor/run_windows_tests.ps1
blob: f048b320c29673199f58a890838e0c743eb295d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Stop script execution when a non-terminating error occurs
$ErrorActionPreference = "Stop"

# This will run ruby test on windows platform

Write-Output "--- Bundle install"

bundle config --local path vendor/bundle
If ($lastexitcode -ne 0) { Exit $lastexitcode }

bundle install --jobs=7 --retry=3
If ($lastexitcode -ne 0) { Exit $lastexitcode }

Write-Output "--- Bundle Execute"

bundle exec rake
If ($lastexitcode -ne 0) { Exit $lastexitcode }