From 77f54c6bd558b3a93082fc97bf463fdfeae93bd5 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Wed, 16 Nov 2016 17:47:31 -0700 Subject: Switch to newer Code Climiate reporting See https://github.com/codeclimate/ruby-test-reporter/blob/master/README.md#upgrading-from-pre-10-versions for details. --- Gemfile | 1 + test/test_helper.rb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 5993158..e479aab 100644 --- a/Gemfile +++ b/Gemfile @@ -8,4 +8,5 @@ group :development do gem 'travis', '>= 1.8.2' gem 'jeweler', '>=2.0.1' gem 'codeclimate-test-reporter' + gem 'simplecov' end diff --git a/test/test_helper.rb b/test/test_helper.rb index 5200cf8..4a80d3e 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,7 +1,7 @@ require 'rubygems' require 'minitest/autorun' -require "codeclimate-test-reporter" -CodeClimate::TestReporter.start +require 'simplecov' +SimpleCov.start $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) -- cgit v1.2.1 From 937f737128607f72ae443b83c234cdd06520551e Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Wed, 16 Nov 2016 17:56:39 -0700 Subject: Add command to publish results to Code Climate --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index dc5bb57..91dbaab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,7 @@ install: script: - uname -s - rake test +- codeclimate-test-reporter addons: code_climate: repo_token: -- cgit v1.2.1 From 279d9d4c5516f467dee5d2a0593a76389cebed97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Tue, 29 Aug 2017 20:56:45 +0200 Subject: Only test against supported Ruby versions --- .travis.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 91dbaab..bb08cdb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,7 @@ language: ruby rvm: -- 2.3.0 -- 2.2.4 -- 2.2.0 -- 2.1.8 -- 2.1.3 -- 2.0.0 -- 1.9.3 +- 2.3 +- 2.4 install: - gem install bundler - gem uninstall rake -x -- cgit v1.2.1