diff options
Diffstat (limited to '.expeditor')
-rw-r--r-- | .expeditor/buildkite/run_windows_tests.ps1 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.expeditor/buildkite/run_windows_tests.ps1 b/.expeditor/buildkite/run_windows_tests.ps1 index 23f02c3..3e2277b 100644 --- a/.expeditor/buildkite/run_windows_tests.ps1 +++ b/.expeditor/buildkite/run_windows_tests.ps1 @@ -4,17 +4,21 @@ $ErrorActionPreference = "Stop" # This will run ruby test on windows platform echo "--- Install make " -choco install make --source=cygwin +choco install make --source=cygwin +If ($lastexitcode -ne 0) { Exit $lastexitcode } Write-Output "--- Bundle install" ruby --version bundler --version gem update --system +If ($lastexitcode -ne 0) { Exit $lastexitcode } bundle install --without development_extras --jobs 3 --retry 3 --path vendor/bundle +If ($lastexitcode -ne 0) { Exit $lastexitcode } gem install yajl-ruby json psych If ($lastexitcode -ne 0) { Exit $lastexitcode } Write-Output "--- Bundle Execute" bundle exec rake compile +If ($lastexitcode -ne 0) { Exit $lastexitcode } bundle exec rake spec If ($lastexitcode -ne 0) { Exit $lastexitcode }
\ No newline at end of file |