-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: poornima <[email protected]>
- Loading branch information
Showing
2 changed files
with
32 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters