aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/cmd
diff options
context:
space:
mode:
authorAlyssa Ross2016-09-20 16:39:16 +0100
committerAlyssa Ross2016-09-20 16:39:16 +0100
commitad17bbff9c59ef5d0490e6af317f7ce2d3069f69 (patch)
tree2c4214fbdec51e26136f45413093bcdf898b761b /Library/Homebrew/cask/cmd
parent869fb0214971f3dbcccbe1915702ffc7e7d69d16 (diff)
downloadbrew-ad17bbff9c59ef5d0490e6af317f7ce2d3069f69.tar.bz2
cask-tests: fix loading simplecov
Diffstat (limited to 'Library/Homebrew/cask/cmd')
-rwxr-xr-xLibrary/Homebrew/cask/cmd/brew-cask-tests.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Homebrew/cask/cmd/brew-cask-tests.rb b/Library/Homebrew/cask/cmd/brew-cask-tests.rb
index 2523061a2..19a21275e 100755
--- a/Library/Homebrew/cask/cmd/brew-cask-tests.rb
+++ b/Library/Homebrew/cask/cmd/brew-cask-tests.rb
@@ -38,10 +38,7 @@ repo_root.cd do
end
if ENV["CODECOV_TOKEN"]
- require "simplecov"
- require "codecov"
- formatter = SimpleCov::Formatter::Codecov.new
- formatter.format(SimpleCov::ResultMerger.merged_result)
+ system "bundle", "exec", "rake", "test:coverage:upload"
end
Homebrew.failed = !$CHILD_STATUS.success?