Permalink
Browse files

Added codeclimate test coverage reporter

  • Loading branch information...
1 parent 54213d5 commit b703d1a2021de51f543e18b824361bc6cdf1b048 @rybex rybex committed May 26, 2015
Showing with 8 additions and 2 deletions.
  1. +2 −0 .travis.yml
  2. +1 −2 Gemfile
  3. +5 −0 spec/spec_helper.rb
View
@@ -7,3 +7,5 @@ script: bundle exec mutant --include lib --require ruby_event_store --use rspec
notifications:
slack:
secure: qCcGv1MmryEhPoHzTvZvgSv21UcC7j2Cfq0b0hmQWuYHrHN+jhqjhg7PuElNyr0mk6N1acIcVqOAWpS20ZkG/mipW2RBBXVEc9zVR10pvJnlKDmGKd4Vmj394VgIknn8ciruglw1LoJManf1bV7/Wm4ITMt3zCQqTMGclRUqA0l/dzK2z9zU35cT4v38nTGnoGVrPQx29FvpU3J/h9qC6kGllw3Bkic2nmpFABYOI49LQFF3/vdrbnK3Zo1rudHMV0lNoPg5Ntrbd6XHXUKrBGBcZmGSh3wW/mfYf9Tcft+5MwtCu4b70KnFknx7oFmBlU8JFYg2x5f1xNSIoRkDmLI5/jNDWJ3oLAtYjgY5CdBMlxnhhfnCBmbaxEJhTuscm2sIp+S+4+ggm8x/daIK3BUaBAV5BT8An52BXhQ/F6cdnYiSVn+5lGap/1wF2TWwnN/oVc+JVfATouG9FCygzMekUaji94JMKBtS+QgoLdAE5ufEGBeDONJELRD8Lca1R4uWSg2snf93GWoONca9aJfkIfXj3m+VaoAM9Bq9DGcOXwZESkltE2E+31Fznh5qYCRH1zgtgB0Hx8x7sdaxNQyybvgNS1R0lGnIU/NrUmREcUi5BYEI5YqygBtkTZ7F/nlYQgydKjjHJ6FG3oLc3ggxffE8oAdpuxvlUQ8ZN6o=
+env:
+ - CODECLIMATE_REPO_TOKEN=164ccfacd5c379b0113f81b055179574f55d8611bac432b3e9bd5f7c5858084a
View
@@ -1,4 +1,3 @@
source 'https://rubygems.org'
-
-# Specify your gem's dependencies in ruby_event_store.gemspec
gemspec
+gem 'codeclimate-test-reporter', group: :test, require: nil
View
@@ -1,3 +1,8 @@
+if ENV['CODECLIMATE_REPO_TOKEN']
+ require 'codeclimate-test-reporter'
+ CodeClimate::TestReporter.start
+end
+
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'ruby_event_store'
require 'in_memory/in_memory_repository'

0 comments on commit b703d1a

Please sign in to comment.