Skip to content

Commit

Permalink
lets try coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
phinze committed Apr 28, 2013
1 parent 8ed3437 commit 9236a74
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
.ruby-version
coverage
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -4,4 +4,5 @@ group :test do
gem 'rake'
gem 'minitest', '4.7.0'
gem 'minitest-colorize'
gem 'coveralls', :require => false
end
17 changes: 17 additions & 0 deletions Gemfile.lock
@@ -1,15 +1,32 @@
GEM
remote: https://rubygems.org/
specs:
colorize (0.5.8)
coveralls (0.6.7)
colorize
multi_json (~> 1.3)
rest-client
simplecov (>= 0.7)
thor
mime-types (1.23)
minitest (4.7.0)
minitest-colorize (0.0.5)
minitest (>= 2.0)
multi_json (1.7.2)
rake (10.0.4)
rest-client (1.6.7)
mime-types (>= 1.16)
simplecov (0.7.1)
multi_json (~> 1.0)
simplecov-html (~> 0.7.1)
simplecov-html (0.7.1)
thor (0.18.1)

PLATFORMS
ruby

DEPENDENCIES
coveralls
minitest (= 4.7.0)
minitest-colorize
rake
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -2,6 +2,7 @@

[![Build Status](https://travis-ci.org/phinze/homebrew-cask.png?branch=master)](https://travis-ci.org/phinze/homebrew-cask)
[![Code Climate](https://codeclimate.com/github/phinze/homebrew-cask.png)](https://codeclimate.com/github/phinze/homebrew-cask)
[![Coverage Status](https://coveralls.io/repos/phinze/homebrew-cask/badge.png?branch=master)](https://coveralls.io/r/phinze/homebrew-cask)

Let's see if we can get the elegance, simplicity, and speed of Homebrew for the
installation and management GUI Mac applications like Google Chrome and Adium.
Expand Down
2 changes: 1 addition & 1 deletion test/cask/dsl_test.rb
Expand Up @@ -57,7 +57,7 @@
end

instance = CaskWithLinkables.new
Array(instance.linkables[:app]).must_equal %w[Foo.app Bar.app]
Array(instance.linkables[:app]).sort.must_equal %w[Bar.app Foo.app]
end

it "allow linkables to be set to empty" do
Expand Down
6 changes: 4 additions & 2 deletions test/test_helper.rb
@@ -1,3 +1,4 @@
require 'bundler'
require 'bundler/setup'


Expand Down Expand Up @@ -31,8 +32,9 @@
# our own testy caskroom
Cask.caskroom = HOMEBREW_PREFIX.join('TestCaskroom')

# silence some extraneous UI messages for tests
ENV['QUIET_TESTS'] = '1'
# coveralls.io integration
require 'coveralls'
Coveralls.wear!

class TestHelper
# helper for test casks to reference local files easily
Expand Down

0 comments on commit 9236a74

Please sign in to comment.