diff --git a/.travis.yml b/.travis.yml index a1e950bf..1907806b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,8 @@ language: ruby rvm: - # - 1.9.3 - # - 1.9.2 - 2.0.0 - 2.1.0 - 2.2.0 - # - ruby-head - # - jruby-19mode - # - jruby-head notifications: email: @@ -17,3 +12,5 @@ notifications: script: SPEC_ALL=true bundle exec rspec spec before_install: - gem update bundler +after_success: + - bundle exec codeclimate-test-reporter diff --git a/Gemfile b/Gemfile index 2ddf70c4..0f8f81c4 100644 --- a/Gemfile +++ b/Gemfile @@ -5,5 +5,6 @@ gemspec group :test do gem 'codeclimate-test-reporter', require: nil + gem "simplecov" gem 'multi_xml' end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 407aa674..a04e4765 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -10,8 +10,8 @@ Dotenv.load if ENV['CODECLIMATE_REPO_TOKEN'] - require 'codeclimate-test-reporter' - CodeClimate::TestReporter.start + require 'simplecov' + SimpleCov.start end config_file = File.join(File.expand_path('../..', __FILE__), 'spec', 'shoryuken.yml')