Skip to content

Commit 0b2347a

Browse files
committed
Change: add codeclimate coverage
1 parent 02324a5 commit 0b2347a

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

.travis.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
sudo: false
21
language: ruby
2+
3+
sudo: false
4+
35
rvm:
46
- 2.1.9
57
- 2.2.5
@@ -17,4 +19,9 @@ matrix:
1719
before_install: gem install bundler
1820

1921
bundler_args: --without debug --jobs=3 --retry=3 --path=../vendor/bundle
22+
2023
cache: bundler
24+
25+
addons:
26+
code_climate:
27+
repo_token: f86575690ba75e81107a310a79ec158a4dbac013cd17c46dcb97c2dfae817fcc

Gemfile

+4
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ end
1515
group :debug do
1616
gem 'pry-byebug'
1717
end
18+
19+
group :test do
20+
gem 'codeclimate-test-reporter', require: nil
21+
end

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Carrierwave Globalize
22

3+
[![Build Status](https://travis-ci.org/dalpo/carrierwave_globalize.svg?branch=master)](https://travis-ci.org/dalpo/carrierwave_globalize) [![Code Climate](https://codeclimate.com/github/dalpo/carrierwave_globalize/badges/gpa.svg)](https://codeclimate.com/github/dalpo/carrierwave_globalize)
4+
35
Use Globalize to manage Carrierwave translated fields.
46

57
**Disclaimer:** This is an early implementation and could contain some bugs.

spec/spec_helper.rb

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
22

3+
require 'codeclimate-test-reporter'
4+
CodeClimate::TestReporter.start
5+
36
begin
47
require 'pry-byebug'
58
rescue LoadError

0 commit comments

Comments
 (0)