aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cask/cmd')
-rwxr-xr-xLibrary/Homebrew/cask/cmd/brew-cask-tests.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/cmd/brew-cask-tests.rb b/Library/Homebrew/cask/cmd/brew-cask-tests.rb
index 019c3ca24..2523061a2 100755
--- a/Library/Homebrew/cask/cmd/brew-cask-tests.rb
+++ b/Library/Homebrew/cask/cmd/brew-cask-tests.rb
@@ -1,7 +1,10 @@
require "English"
def run_tests(executable, files, args = [])
- system "bundle", "exec", executable, "--", *args, "--", *files
+ opts = []
+ opts << "--serialize-stdout" if ENV["CI"]
+
+ system "bundle", "exec", executable, *opts, "--", *args, "--", *files
end
repo_root = Pathname(__FILE__).realpath.parent.parent