forked from integrity/integrity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.rb
30 lines (27 loc) · 767 Bytes
/
init.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "lib"))
require ".bundle/environment"
require "integrity"
# Uncomment as appropriate for the notifier you want to use
# = Email
# require "integrity/notifier/email"
# = IRC
# require "integrity/notifier/irc"
# = 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"
Integrity.configure do |c|
c.database = "sqlite3:integrity.db"
c.directory = "builds"
c.base_url = "http://ci.example.org"
c.log = "integrity.log"
c.github_token = "SECRET"
c.build_all = true
c.builder = :threaded, 5
end