aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/Rakefile
diff options
context:
space:
mode:
authorMike McQuaid2016-09-10 20:43:42 +0100
committerMike McQuaid2016-09-16 10:20:09 +0100
commitb1fba6ed54997bd0a2ce29fdd523f40fecada0c3 (patch)
treed21bf32aadc549174fb6ceb89113eab9a6c67ee9 /Library/Homebrew/cask/Rakefile
parentddafaaecfc08ac704eedbc19e669bc60b0a0a157 (diff)
downloadbrew-b1fba6ed54997bd0a2ce29fdd523f40fecada0c3.tar.bz2
Send coverage from Jenkins, don't run OS X Travis.
OS X Travis CI is particularly error-prone, slow and unnecessary for us when we're already running (fast) OS X builds on Jenkins so use it just for Linux testing.
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