Skip to content

Commit

Permalink
add database config for circle ci & dummy app
Browse files Browse the repository at this point in the history
  • Loading branch information
ajb committed Sep 26, 2013
1 parent 8509ca1 commit feb338e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
database:
override:
- cp spec/dummy/config/database.yml.ci spec/dummy/config/database.yml
- bundle exec rake db:create db:schema:load
15 changes: 15 additions & 0 deletions spec/dummy/config/database.yml.ci
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
development:
adapter: postgresql
database: formbuilder-rb-dev

# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: postgresql
database: formbuilder-rb-test

0 comments on commit feb338e

Please sign in to comment.