summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorWild Kat <wk@futureinquestion.net>2018-04-22 22:06:23 +0200
committerWild Kat <wk@futureinquestion.net>2018-04-22 22:42:51 +0200
commit82d67f2f337df5dbef8109fc67ddc9a86ba79bdc (patch)
tree2ac3d04576a53e44e42023cadc5629e56f62b7ab /spec
parent2648b1bb271727976e2d96123fcd51d52af39f79 (diff)
integrate codecov
Diffstat (limited to 'spec')
-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'