diff --git a/.travis.yml b/.travis.yml index e84ae12..fff1005 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,17 @@ ---- sudo: false cache: bundler language: ruby - rvm: - - 2.1.0 - +- 2.1.0 script: - - bundle exec rake - +- bundle exec rake notifications: email: recipients: - - sky4winder+githubchangeloggenerator@gmail.com - on_success: never # [always|never|change] - on_failure: change # [always|never|change] + - sky4winder+githubchangeloggenerator@gmail.com + on_success: never + on_failure: change +addons: + code_climate: + repo_token: + secure: iMpV5IAvH+/EVGZrpWnt2BnmNFzSbsRcIumsr4ZyLC8N5nrCSXyjCSy0g48btL3Sj0bSgK9hcrJsmrFd2bkqFleyAcPAzNyUQzBuIRZx47O8yFmbZ+Pj+l3+KOlmcbzJNHfDfxkxuWTmTAcSDfsiyApin721T/ey3SUuwKpZNUc= diff --git a/Gemfile b/Gemfile index 6476398..efdc678 100644 --- a/Gemfile +++ b/Gemfile @@ -9,4 +9,6 @@ group :test do gem 'rspec' gem 'rubocop' gem 'coveralls', require: false + gem 'simplecov', require: false + gem 'codeclimate-test-reporter' end diff --git a/Gemfile.lock b/Gemfile.lock index e031310..1287b76 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -5,6 +5,8 @@ GEM ast (2.0.0) astrolabe (1.3.0) parser (>= 2.2.0.pre.3, < 3.0) + codeclimate-test-reporter (0.4.7) + simplecov (>= 0.7.1, < 1.0.0) colorize (0.7.5) coveralls (0.7.12) multi_json (~> 1.10) @@ -94,9 +96,11 @@ PLATFORMS ruby DEPENDENCIES + codeclimate-test-reporter colorize coveralls github_api rake rspec rubocop + simplecov diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index a5ab0c9..bcb64c3 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -15,8 +15,16 @@ # See the License for the specific language governing permissions and # limitations under the License. # +require 'codeclimate-test-reporter' +require 'simplecov' require 'coveralls' -Coveralls.wear! + +SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ + Coveralls::SimpleCov::Formatter, + SimpleCov::Formatter::HTMLFormatter, + CodeClimate::TestReporter::Formatter +] +SimpleCov.start require 'github_changelog_generator'