summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-10 20:26:27 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-10 20:26:27 +0200
commit96fbef60f962e57da5da2d3603e48fadfe959062 (patch)
treebc78ce3ec4c7060295228c88ec145099a7f69375 /spec/spec_helper.rb
parent473efc82b68dcaac61be55466e423fdbbabde710 (diff)
downloadgitlab-ce-96fbef60f962e57da5da2d3603e48fadfe959062.tar.gz
add coveralls.io to travis builds
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index f6f70cfd96a..30518cc2b9f 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,5 +1,9 @@
require 'simplecov' unless ENV['CI']
+if ENV['TRAVIS']
+ require 'coveralls'
+ Coveralls.wear!
+end
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'