Skip to content

Commit

Permalink
added travis, code climate, and coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
wbyoung committed Nov 5, 2013
1 parent ae150f7 commit 8a2c957
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ spec/dummy/db/*.sqlite3-journal
spec/dummy/log/*.log
spec/dummy/tmp/
spec/dummy/.sass-cache
coverage/
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
language: ruby
rvm:
- 1.9.3
- 2.0.0
16 changes: 16 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ GEM
capybara-webkit (1.0.0)
capybara (~> 2.0, >= 2.0.2)
json
coveralls (0.7.0)
multi_json (~> 1.3)
rest-client
simplecov (>= 0.7)
term-ansicolor
thor
diff-lcs (1.2.4)
erubis (2.7.0)
factory_girl (4.2.0)
Expand Down Expand Up @@ -95,6 +101,8 @@ GEM
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.1.0)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec-core (2.14.5)
rspec-expectations (2.14.2)
diff-lcs (>= 1.1.3, < 2.0)
Expand All @@ -111,6 +119,10 @@ GEM
railties (>= 4.0.0.beta, < 5.0)
sass (>= 3.1.10)
sprockets-rails (~> 2.0.0)
simplecov (0.7.1)
multi_json (~> 1.0)
simplecov-html (~> 0.7.1)
simplecov-html (0.7.1)
sprockets (2.10.0)
hike (~> 1.2)
multi_json (~> 1.0)
Expand All @@ -120,10 +132,13 @@ GEM
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (~> 2.8)
term-ansicolor (1.2.2)
tins (~> 0.8)
thor (0.18.1)
thread_safe (0.1.3)
atomic
tilt (1.4.1)
tins (0.12.0)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
Expand All @@ -137,6 +152,7 @@ PLATFORMS
DEPENDENCIES
capybara
capybara-webkit
coveralls
factory_girl_rails
firefly!
jasmine-rails
Expand Down
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Firefly
# Firefly [![Build Status](https://secure.travis-ci.org/wbyoung/firefly.png)](http://travis-ci.org/wbyoung/firefly) [![Code Climate](https://codeclimate.com/github/wbyoung/firefly.png)](https://codeclimate.com/github/wbyoung/firefly) [![Coverage Status](https://coveralls.io/repos/wbyoung/firefly/badge.png)](https://coveralls.io/r/wbyoung/firefly)

To use Firefly in an existing Rails application.

Expand Down
1 change: 1 addition & 0 deletions firefly.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'factory_girl_rails'
s.add_development_dependency 'jasmine-rails'
s.add_development_dependency 'pg'
s.add_development_dependency 'coveralls'

s.test_files = Dir["spec/**/*"]
end
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require 'rspec/rails'
require 'rspec/autorun'
require 'factory_girl_rails'
require 'coveralls'

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Expand All @@ -13,6 +14,9 @@
# If you are not using ActiveRecord, you can remove this line.
ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)

# Enable Coveralls
Coveralls.wear!

# Support use of to and to_not in one-liners allowing use of `expect_it { to ... }`
# syntax when should has been disabled.
RSpec::Core::MemoizedHelpers.module_eval do
Expand Down

0 comments on commit 8a2c957

Please sign in to comment.