Skip to content

Commit

Permalink
Add test coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnando committed Apr 27, 2016
1 parent be9a1b5 commit 7fa68f2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
15 changes: 9 additions & 6 deletions .travis.yml
Expand Up @@ -2,12 +2,15 @@ language: ruby
sudo: false
cache: bundler
rvm:
- '2.2'
- '2.1'
- '2.0'
- '2.3.1'
- '2.2'
- '2.1'
gemfile:
- Gemfile
- gemfiles/rails3.gemfile
script: "bundle exec rake"
- Gemfile
- gemfiles/rails3.gemfile
script: bundle exec rake
notifications:
email: false
env:
global:
secure: egPPk/jMVzOoZGkk8jcf1f1N++oI4p4hqtk53T2kpHChxpmR8sP/oFlAhebvqMhM8svbQx+lWTvdxPDj9GBQGsC4ekqubV6S0MNJQS4/F41PSEU+DFUzNU1PHiDO+/0AbIheTj15UIt8IC4NVaM236HuSdMDWOjVI3ydBsgJ/GY=
3 changes: 2 additions & 1 deletion README.md
@@ -1,7 +1,8 @@
# Browser

[![Travis-CI](https://travis-ci.org/fnando/browser.png)](https://travis-ci.org/fnando/browser)
[![CodeClimate](https://codeclimate.com/github/fnando/browser.png)](https://codeclimate.com/github/fnando/browser)
[![Code Climate](https://codeclimate.com/github/fnando/browser/badges/gpa.svg)](https://codeclimate.com/github/fnando/browser)
[![Test Coverage](https://codeclimate.com/github/fnando/browser/badges/coverage.svg)](https://codeclimate.com/github/fnando/browser/coverage)
[![Gem](https://img.shields.io/gem/v/browser.svg)](https://rubygems.org/gems/browser)
[![Gem](https://img.shields.io/gem/dt/browser.svg)](https://rubygems.org/gems/browser)

Expand Down
1 change: 1 addition & 0 deletions browser.gemspec
Expand Up @@ -27,4 +27,5 @@ Gem::Specification.new do |s|
s.add_development_dependency "minitest-utils"
s.add_development_dependency "pry-meta"
s.add_development_dependency "minitest-autotest"
s.add_development_dependency "codeclimate-test-reporter"
end
3 changes: 3 additions & 0 deletions test/test_helper.rb
@@ -1,4 +1,7 @@
# frozen_string_literal: true
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start

ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", __FILE__)
require "bundler/setup"
require "minitest/autorun"
Expand Down

0 comments on commit 7fa68f2

Please sign in to comment.