From 127156f6a58df7aa03ebcaba09c0d013b9622e78 Mon Sep 17 00:00:00 2001 From: Olga Grabek Date: Wed, 21 Jan 2015 06:28:32 +0100 Subject: [PATCH] add codeclimate code coverage --- .travis.yml | 3 +++ Gemfile | 2 ++ spec/spec_helper.rb | 2 ++ 3 files changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 0169720..2fa8630 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,3 +10,6 @@ script: rake spec branches: only: - master +addons: + code_climate: + repo_token: d1a331f3776f02890a5adcb1188879cd886a1cb0dfe5806c5848e27ef2dd700c \ No newline at end of file diff --git a/Gemfile b/Gemfile index 86fefc5..ef26232 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,6 @@ source 'https://rubygems.org' +gem "codeclimate-test-reporter", group: :test, require: nil + # Specify your gem's dependencies in steam_web_api.gemspec gemspec diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 62c36b8..b35c76d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,5 @@ +require "codeclimate-test-reporter" +CodeClimate::TestReporter.start require "dotenv" Dotenv.load require "steam_web_api"