Skip to content

Instantly share code, notes, and snippets.

@p
Created December 8, 2012 01:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save p/4238044 to your computer and use it in GitHub Desktop.
Save p/4238044 to your computer and use it in GitHub Desktop.
Integrity via Unicorn
exec unicorn -c doc/unicorn.rb -D
worker_processes 1
listen '127.0.0.1:8910'
pid '/var/run/integrity/server.pid'
$LOAD_PATH.unshift(File.expand_path("../lib", __FILE__))
require "integrity"
# Uncomment as appropriate for the notifier you want to use
# = Email
# require "integrity/notifier/email"
# = SES Email
# require "integrity/notifier/ses"
# = Campfire
# require "integrity/notifier/campfire"
# = TCP
# require "integrity/notifier/tcp"
# = HTTP
# require "integrity/notifier/http"
# = Notifo
# require "integrity/notifier/notifo"
# = AMQP
# require "integrity/notifier/amqp"
# = Shell
# require "integrity/notifier/shell"
# = Co-op
# require "integrity/notifier/coop"
Integrity.configure do |c|
c.database = "postgres:///integrity"
c.directory = "builds"
c.base_url = "https://ci.us.com"
c.log = "integrity.log"
c.github_token = "SECRET"
c.build_all = true
c.trim_branches = false
c.builder = :threaded, 1
c.project_default_build_count = 10
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment