-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added ruby 3.0/3.1 windows/linux image
Signed-off-by: nikhil2611 <[email protected]>
- Loading branch information
1 parent
c67ba18
commit 5849b46
Showing
3 changed files
with
65 additions
and
9 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 set --local without docs debug | ||
bundle config set --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 spec | ||
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
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