Last Updated: February 25, 2016
·
838
· benben

be nice to your CI

...and save cpu time :)

#spec_helper.rb
unless ENV['CI'] || ENV['TRAVIS']
  require 'simplecov'
  SimpleCov.start 'rails'
end

1 Response
Add your 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 ·