blob: c37728bdc7c81b602d50c63963ddc70998bdc4fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# 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 }
|