be nice to your CI
...and save cpu time :)
#spec_helper.rb
unless ENV['CI'] || ENV['TRAVIS']
require 'simplecov'
SimpleCov.start 'rails'
end
Written by Benjamin Knofe
Related protips
1 Response
ENV['CI_SERVER']
for Gitlab-CI-Support ;)
https://github.com/gitlabhq/gitlab-ci/pull/117
edit: Nevermind, it's missing in current GitlabCI version
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#