diff --git a/.travis.yml b/.travis.yml index d7eabc5b..6a92b37b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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= diff --git a/README.md b/README.md index 5835abf9..697d32dd 100644 --- a/README.md +++ b/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) diff --git a/browser.gemspec b/browser.gemspec index 718166df..7ef31596 100644 --- a/browser.gemspec +++ b/browser.gemspec @@ -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 diff --git a/test/test_helper.rb b/test/test_helper.rb index 0bd34cdc..a6944cf9 100644 --- a/test/test_helper.rb +++ b/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"