Skip to content

Commit

Permalink
Add Coveralls.
Browse files Browse the repository at this point in the history
  • Loading branch information
tristandunn committed Jun 11, 2013
1 parent 8c10a0d commit 250b9b9
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pusher-fake [![Build Status](https://secure.travis-ci.org/tristandunn/pusher-fake.png?branch=master)](http://travis-ci.org/tristandunn/pusher-fake) [![Dependency Status](https://gemnasium.com/tristandunn/pusher-fake.png)](https://gemnasium.com/tristandunn/pusher-fake) [![Code Climate](https://codeclimate.com/github/tristandunn/pusher-fake.png)](https://codeclimate.com/github/tristandunn/pusher-fake)
# pusher-fake [![Build Status](https://secure.travis-ci.org/tristandunn/pusher-fake.png?branch=master)](http://travis-ci.org/tristandunn/pusher-fake) [![Dependency Status](https://gemnasium.com/tristandunn/pusher-fake.png)](https://gemnasium.com/tristandunn/pusher-fake) [![Code Climate](https://codeclimate.com/github/tristandunn/pusher-fake.png)](https://codeclimate.com/github/tristandunn/pusher-fake) [![Coverage Status](https://coveralls.io/repos/tristandunn/pusher-fake/badge.png)](https://coveralls.io/r/tristandunn/pusher-fake)

A fake [Pusher](http://pusher.com) server for development and testing.

Expand Down
5 changes: 4 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require "bundler/setup"
require "coveralls/rake/task"
require "cucumber/rake/task"
require "rspec/core/rake_task"
require "yard"
Expand All @@ -18,4 +19,6 @@ YARD::Rake::YardocTask.new do |t|
t.options = ["--no-private"]
end

task default: [:spec, :cucumber]
Coveralls::RakeTask.new

task default: [:spec, :cucumber, "coveralls:push"]
3 changes: 3 additions & 0 deletions features/support/coveralls.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require "coveralls"

Coveralls.wear_merged!
1 change: 1 addition & 0 deletions pusher-fake.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Gem::Specification.new do |s|

s.add_development_dependency "bourne", "1.4.0"
s.add_development_dependency "capybara-webkit", "1.0.0"
s.add_development_dependency "coveralls", "0.6.7"
s.add_development_dependency "cucumber", "1.3.2"
s.add_development_dependency "pusher", "0.11.3"
s.add_development_dependency "rake", "10.0.4"
Expand Down
3 changes: 3 additions & 0 deletions spec/support/coveralls.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require "coveralls"

Coveralls.wear_merged!

0 comments on commit 250b9b9

Please sign in to comment.