move travis.rb and travis/config to lib

This commit is contained in:
Sven Fuchs 2016-06-19 15:20:11 +02:00
parent c6f6dd5f5a
commit 04cd5bea24
4 changed files with 0 additions and 19 deletions

View File

@ -6,28 +6,9 @@ require 'travis/redis_pool'
require 'travis/errors'
require 'travis/commit_command'
# travis-core holds the central parts of the model layer used in both travis-ci
# (i.e. the web application) as well as travis-hub (a non-rails ui-less JRuby
# application that receives, processes and distributes messages from/to the
# workers and issues various events like email, pusher, irc notifications and
# so on).
#
# travis/model - contains ActiveRecord models that and model the main
# parts of the domain logic (e.g. repository, build, job
# etc.) and issue events on state changes (e.g.
# build:created, job:test:finished etc.)
# travis/event - contains event handlers that register for certain
# events and send out such things as email, pusher, irc
# notifications, archive builds or queue jobs for the
# workers.
#
# travis-core also contains some helper classes and modules like Travis::Database
# (needed in travis-hub in order to connect to the database) and Travis::Renderer
# (our inferior layer on top of Rabl).
module Travis
class << self
def services=(services)
# Travis.logger.info("Using services: #{services}")
@services = services
end