diff options
author | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-06-24 15:03:06 -0300 |
---|---|---|
committer | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-06-24 15:03:12 -0300 |
commit | 84d2a24e83e069069d09ff02460446a0a67e28e6 (patch) | |
tree | e2af056674f49b572f0c9b60d281ed8d9b3596a2 | |
parent | 14ebd803371aab541b88b33d2feb1ede7f193a6e (diff) | |
download | highline-84d2a24e83e069069d09ff02460446a0a67e28e6.tar.gz |
Update codeclimate to new api
https://github.com/codeclimate/ruby-test-reporter/blob/master/CHANGELOG.md#v100-2016-11-03
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | test/test_helper.rb | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index fde2b7b..a13fe9f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ --- language: ruby sudo: false -script: "bundle exec rake test" +script: "bundle exec rake test && bundle exec codeclimate-test-reporter" rvm: - 1.9 - 2.0 diff --git a/test/test_helper.rb b/test/test_helper.rb index 449c7d2..161912b 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -3,11 +3,6 @@ require 'simplecov' -if ENV['CODECLIMATE_REPO_TOKEN'] - require "codeclimate-test-reporter" - CodeClimate::TestReporter.start -end - # Compatibility module for StringIO, File # and Tempfile. Necessary for some tests. require "io_console_compatible" |