diff --git a/.travis.yml b/.travis.yml index f52dbc5bd..29a99224e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,3 +50,5 @@ notifications: env: global: secure: LlDKdKSRo3sEjQ55XesbOXhKZ3RrOtqoD1ZL8Wx39K3iVzeEV3Kc8HjDfEvo7R4pOc3BMTNJcputklVEPN0FkWGN7Py+OEtbHj3IZl0MX+KEWNk0gU+4+sgPrL1eXUQyMUSkCrBsKg08rPel4KMYUOXbtnLyUU9PDbBwm4LJYOc= +after_success: + - bundle exec codeclimate-test-reporter \ No newline at end of file diff --git a/Gemfile b/Gemfile index 3f8cac8bf..bca6dd2f5 100644 --- a/Gemfile +++ b/Gemfile @@ -7,4 +7,8 @@ group :test, :default do gem 'pry-nav' gem 'mime-types', '~> 3.1' end -gem "codeclimate-test-reporter", group: :test, require: nil + +group :test do + gem "simplecov" + gem "codeclimate-test-reporter", "~> 1.0.0" +end \ No newline at end of file diff --git a/tests/helper.rb b/tests/helper.rb index 22faa9f06..1aa467622 100644 --- a/tests/helper.rb +++ b/tests/helper.rb @@ -1,6 +1,7 @@ begin - require "codeclimate-test-reporter" - CodeClimate::TestReporter.start + require 'simplecov' + SimpleCov.start + SimpleCov.command_name "Shindo" rescue LoadError => e $stderr.puts "not recording test coverage: #{e.inspect}" end