aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask
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
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')
-rw-r--r--Library/Homebrew/cask/Gemfile2
-rw-r--r--Library/Homebrew/cask/Gemfile.lock17
-rw-r--r--Library/Homebrew/cask/README.md3
-rw-r--r--Library/Homebrew/cask/Rakefile9
4 files changed, 12 insertions, 19 deletions
diff --git a/Library/Homebrew/cask/Gemfile b/Library/Homebrew/cask/Gemfile
index c164a3f67..af1c8d3bc 100644
--- a/Library/Homebrew/cask/Gemfile
+++ b/Library/Homebrew/cask/Gemfile
@@ -12,7 +12,7 @@ group :development do
end
group :test do
- gem "coveralls", require: false
+ gem "codecov", require: false
gem "minitest", "5.4.1"
gem "minitest-reporters"
gem "mocha", "1.1.0", require: false
diff --git a/Library/Homebrew/cask/Gemfile.lock b/Library/Homebrew/cask/Gemfile.lock
index b65784444..c9c2b5cca 100644
--- a/Library/Homebrew/cask/Gemfile.lock
+++ b/Library/Homebrew/cask/Gemfile.lock
@@ -5,13 +5,11 @@ GEM
ast (2.3.0)
builder (3.2.2)
byebug (9.0.5)
+ codecov (0.1.5)
+ json
+ simplecov
+ url
coderay (1.1.1)
- coveralls (0.8.15)
- json (>= 1.8, < 3)
- simplecov (~> 0.12.0)
- term-ansicolor (~> 1.3)
- thor (~> 0.19.1)
- tins (>= 1.6.0, < 2)
diff-lcs (1.2.5)
docile (1.1.5)
json (2.0.2)
@@ -71,17 +69,14 @@ GEM
simplecov-html (~> 0.10.0)
simplecov-html (0.10.0)
slop (3.6.0)
- term-ansicolor (1.3.2)
- tins (~> 1.0)
- thor (0.19.1)
- tins (1.12.0)
unicode-display_width (1.1.0)
+ url (0.3.2)
PLATFORMS
ruby
DEPENDENCIES
- coveralls
+ codecov
minitest (= 5.4.1)
minitest-reporters
mocha (= 1.1.0)
diff --git a/Library/Homebrew/cask/README.md b/Library/Homebrew/cask/README.md
index 35fe201a5..1d0dc5882 100644
--- a/Library/Homebrew/cask/README.md
+++ b/Library/Homebrew/cask/README.md
@@ -8,9 +8,6 @@ We do this by providing a friendly Homebrew-style CLI workflow for the administr
It’s implemented as a `homebrew` [external command](https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/External-Commands.md) called `cask`.
-[![Build Status](https://img.shields.io/travis/caskroom/homebrew-cask/master.svg)](https://travis-ci.org/caskroom/homebrew-cask)
-[![Code Climate](https://img.shields.io/codeclimate/github/caskroom/homebrew-cask.svg)](https://codeclimate.com/github/caskroom/homebrew-cask)
-[![Coverage Status](https://img.shields.io/coveralls/caskroom/homebrew-cask.svg)](https://coveralls.io/r/caskroom/homebrew-cask)
[![Join the chat at https://gitter.im/caskroom/homebrew-cask](https://img.shields.io/badge/gitter-join%20chat-blue.svg)](https://gitter.im/caskroom/homebrew-cask)
## Let’s try it!
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