Skip to content

Commit

Permalink
new badges + coverall integration + do not test jruby
Browse files Browse the repository at this point in the history
  • Loading branch information
did committed Mar 31, 2015
1 parent 868f628 commit 1895573
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.bundle
.ruby-*

coverage/

*.gem
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ language: ruby
rvm:
- 2.0.0
- 2.1.1
- jruby-19mode
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ gemspec

group :test do
gem 'rspec', '~> 3.2.0'

gem 'codeclimate-test-reporter', '~> 0.4.7', require: false
gem 'coveralls', '~> 0.7.12', require: false
end
34 changes: 34 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,32 @@ GEM
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
codeclimate-test-reporter (0.4.7)
simplecov (>= 0.7.1, < 1.0.0)
colorize (0.7.5)
coveralls (0.7.12)
multi_json (~> 1.10)
rest-client (>= 1.6.8, < 2)
simplecov (~> 0.9.1)
term-ansicolor (~> 1.3)
thor (~> 0.19.1)
diff-lcs (1.2.5)
docile (1.1.5)
domain_name (0.5.23)
unf (>= 0.0.5, < 1.0.0)
http-cookie (1.0.2)
domain_name (~> 0.5)
i18n (0.7.0)
json (1.8.2)
mime-types (2.4.3)
minitest (5.5.1)
multi_json (1.11.0)
netrc (0.10.3)
rake (10.2.2)
rest-client (1.8.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 3.0)
netrc (~> 0.7)
rspec (3.2.0)
rspec-core (~> 3.2.0)
rspec-expectations (~> 3.2.0)
Expand All @@ -34,16 +54,30 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.2.0)
rspec-support (3.2.2)
simplecov (0.9.2)
docile (~> 1.1.0)
multi_json (~> 1.0)
simplecov-html (~> 0.9.0)
simplecov-html (0.9.0)
stringex (2.5.2)
term-ansicolor (1.3.0)
tins (~> 1.0)
thor (0.19.1)
thread_safe (0.3.5)
tins (1.3.5)
tzinfo (1.2.2)
thread_safe (~> 0.1)
unf (0.1.4)
unf_ext
unf_ext (0.0.6)

PLATFORMS
ruby

DEPENDENCIES
bundler (~> 1.5)
codeclimate-test-reporter (~> 0.4.7)
coveralls (~> 0.7.12)
locomotivecms_common!
rake (~> 10.1)
rspec (~> 3.2.0)
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
# LocomotiveCMS Common

[![Gem Version](https://badge.fury.io/rb/common.png)](http://badge.fury.io/rb/locomotivecms_common)

[![Code Climate](https://codeclimate.com/github/locomotivecms/common.png)](https://codeclimate.com/github/locomotivecms/common)

[![Dependency Status](https://gemnasium.com/locomotivecms/common.png)](https://gemnasium.com/locomotivecms/common)

[![Build Status](https://travis-ci.org/locomotivecms/common.png?branch=master)](https://travis-ci.org/locomotivecms/common) (Travis CI)

[![Coverage Status](https://coveralls.io/repos/locomotivecms/common/badge.png)](https://coveralls.io/r/locomotivecms/common)
[![Gem Version](https://badge.fury.io/rb/locomotivecms_common.svg)](http://badge.fury.io/rb/locomotivecms_common) [![Code Climate](https://codeclimate.com/github/locomotivecms/common/badges/gpa.svg)](https://codeclimate.com/github/locomotivecms/common) [![Dependency Status](https://gemnasium.com/locomotivecms/common.svg)](https://gemnasium.com/locomotivecms/common) [![Build Status](https://travis-ci.org/locomotivecms/common.svg?branch=master)](https://travis-ci.org/locomotivecms/common) [![Coverage Status](https://coveralls.io/repos/locomotivecms/common/badge.svg)](https://coveralls.io/r/locomotivecms/common)

# Description

Expand Down
14 changes: 14 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
require 'simplecov'
require 'codeclimate-test-reporter'
require 'coveralls'

SimpleCov.start do
formatter SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
CodeClimate::TestReporter::Formatter,
Coveralls::SimpleCov::Formatter
]

add_filter 'spec/'
end

require 'rubygems'
require 'bundler/setup'

Expand Down

0 comments on commit 1895573

Please sign in to comment.