Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

setup code climate coverage

  • Loading branch information...
commit 332e943221ee2ea7e092b75c4996621a910d5f07 1 parent cd08462
@infused authored
View
2  .travis.yml
@@ -16,5 +16,5 @@ branches:
git:
depth: 150
bundler_args: --without development
-script: bundle exec rspec
+script: CODECLIMATE_REPO_TOKEN=2877e253fb18735180e9c3f5faf075c3190b63fd720dc2a282751a4d50290fa8 bundle exec rspec
gemfile: Gemfile.travis
View
1  Gemfile.travis
@@ -5,4 +5,5 @@ gem 'rubysl', :platform => :rbx
group :test do
gem 'rspec'
+ gem 'codeclimate-test-reporter', :require => false
end
View
1  README.md
@@ -2,6 +2,7 @@
[![Version](http://img.shields.io/gem/v/dbf.svg?style=flat)](https://rubygems.org/gems/dbf)
[![Build Status](http://img.shields.io/travis/infused/dbf/master.svg?style=flat)](http://travis-ci.org/infused/dbf)
[![Code Quality](http://img.shields.io/codeclimate/github/infused/dbf.svg?style=flat)](https://codeclimate.com/github/infused/dbf)
+[![Test Coverage](http://img.shields.io/codeclimate/coverage/github/infused/dbf.svg?style=flat)](https://codeclimate.com/github/infused/dbf)
[![Dependency Status](http://img.shields.io/gemnasium/infused/dbf.svg?style=flat)](https://gemnasium.com/infused/dbf)
DBF is a small fast library for reading dBase, xBase, Clipper and FoxPro
View
6 spec/spec_helper.rb
@@ -1,3 +1,9 @@
+begin
+ require 'codeclimate-test-reporter'
+ CodeClimate::TestReporter.start
+rescue LoadError
+end
+
require 'dbf'
require 'rspec'

0 comments on commit 332e943

Please sign in to comment.
Something went wrong with that request. Please try again.