summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorWild Kat <wk@users.noreply.github.com>2018-04-25 14:34:37 +0200
committerGitHub <noreply@github.com>2018-04-25 14:34:37 +0200
commit3ebe08952c07154b3042d2194b5146fbaf734cbe (patch)
treec73f151e883244e80aad6bd5d6f02d10768ad125 /spec/spec_helper.rb
parent21e3d6490496573f25ef77fe8172766ac7d1a736 (diff)
parent9a7d16c00163c421d2c9f3cb2783c76633860336 (diff)
Merge branch 'master' into the-great-makeover
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 2b49a6c..fc5167f 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,3 +1,11 @@
+require 'simplecov'
+SimpleCov.start
+
+if ENV['CI'] == 'true'
+ require 'codecov'
+ SimpleCov.formatter = SimpleCov::Formatter::Codecov
+end
+
require 'minitest/autorun'
require 'mocha/minitest'
require 'oxidized'