aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cask/Rakefile')
-rw-r--r--Library/Homebrew/cask/Rakefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Library/Homebrew/cask/Rakefile b/Library/Homebrew/cask/Rakefile
index 7a276b347..25deee407 100644
--- a/Library/Homebrew/cask/Rakefile
+++ b/Library/Homebrew/cask/Rakefile
@@ -23,10 +23,11 @@ namespace :test do
Rake::Task[:test].invoke
- if ENV["TRAVIS"]
- require "coveralls/rake/task"
- Coveralls::RakeTask.new
- Rake::Task['coveralls:push'].invoke
+ if ENV["CODECOV_TOKEN"]
+ require "simplecov"
+ require "codecov"
+ formatter = SimpleCov::Formatter::Codecov.new
+ formatter.format(SimpleCov::ResultMerger.merged_result)
end
end
end