Skip to content

Commit

Permalink
for Heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaakko Suutarla committed Jan 15, 2010
1 parent 93d63a8 commit 592cae2
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions init.rb
@@ -1,22 +1,14 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "lib"))

require "vendor/gems/environment"
gem "data_objects", "= 0.10.0"
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"

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 "SECRET"
c.database ENV["DATABASE_URL"]
c.directory "tmp"
c.base_url "http://myapp.heroku.com"
c.log "tmp/integrity.log"
c.github "SECRET"
c.build_all!
c.builder :threaded, 5
c.builder :threaded, 5
end

0 comments on commit 592cae2

Please sign in to comment.