summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-05 13:40:02 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-05 13:40:02 +0300
commit22005da2377275e3a80d37bfa689e474869b645a (patch)
tree2bcc89a5340c1759c0154819c29ce0f9bb46265c
parent727c5b17590babdef14b7ecd3cf4f06a6e5279e4 (diff)
downloadgitlab-ci-22005da2377275e3a80d37bfa689e474869b645a.tar.gz
simplecov added
-rw-r--r--.gitignore1
-rw-r--r--Gemfile1
-rw-r--r--Gemfile.lock1
-rw-r--r--spec/spec_helper.rb3
4 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 12f1652..ccd0a98 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ tmp/*
/log/*.log
.powrc
.rvmrc
+coverage/*
diff --git a/Gemfile b/Gemfile
index c5fefa6..5ebd15e 100644
--- a/Gemfile
+++ b/Gemfile
@@ -83,5 +83,6 @@ group :development, :test do
gem 'growl', require: darwin_only('growl')
gem 'rb-inotify', require: linux_only('rb-inotify')
+ gem "simplecov", require: false
gem 'coveralls', require: false
end
diff --git a/Gemfile.lock b/Gemfile.lock
index ef9eb8e..f9920b1 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -299,6 +299,7 @@ DEPENDENCIES
settingslogic
shoulda-matchers
sidekiq
+ simplecov
sinatra
slim
stamp
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 3d0915b..8b061e7 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,6 +1,9 @@
if ENV['TRAVIS']
require 'coveralls'
Coveralls.wear!
+else
+ require 'simplecov'
+ SimpleCov.start
end
# This file is copied to spec/ when you run 'rails generate rspec:install'