Created
December 8, 2012 01:24
-
-
Save p/4238044 to your computer and use it in GitHub Desktop.
Integrity via Unicorn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exec unicorn -c doc/unicorn.rb -D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_processes 1 | |
listen '127.0.0.1:8910' | |
pid '/var/run/integrity/server.pid' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$LOAD_PATH.unshift(File.expand_path("../lib", __FILE__)) | |
require "integrity" | |
# Uncomment as appropriate for the notifier you want to use | |
# 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