travis-api/vendor/travis-core/lib/travis
2016-06-08 15:26:51 +02:00
..
addons squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
api squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
config squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
enqueue squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
event squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
github squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
logs squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
mailer squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
model squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
notification squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
requests squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
services squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
settings squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
testing squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
addons.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
advisory_locks.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
api.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
chunkifier.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
commit_command.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
engine.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
enqueue.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
errors.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
event.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
features.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
github.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
logs.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
mailer.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
model.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
notification.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
overwritable_method_definitions.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
README.markdown squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
redis_pool.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
requests.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
secure_config.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
services.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
settings.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
states_cache.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
task.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
testing.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00
travis_yml_stats.rb squash rlh-are-remove-core 2016-06-08 15:26:51 +02:00

Travis Core directory overview

This folder, lib/travis contains the main code for the Travis Core repository. It contains several sub-section/subdirectories:

  • addons: Event handlers that take events such as "build finished" and sends out notifications to GitHub, Pusher, Campfire, etc.
  • api: Serializers for models and events used in our API and in some other places (for example to generate Pusher payloads).
  • enqueue: Logic for enqueueing jobs.
  • event: Code for sending and subscribing to events. Used by the addons code to subscribe to changes in the models.
  • github: Services for communicating with the GitHub API.
  • mailer: ActionMailer mailers.
  • model: All of our ActiveRecord models.
  • notification: Code for adding instrumentation.
  • requests: Handles requests received from GitHub.
  • secure_config.rb: Logic for encrypting and decrypting build/job configs.
  • services: Most of the business logic behind our API.
  • testing: Code used by our tests, such as model stubs and factories.