diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..9cb32b2 --- /dev/null +++ b/circle.yml @@ -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 diff --git a/spec/dummy/config/database.yml.ci b/spec/dummy/config/database.yml.ci new file mode 100644 index 0000000..217dd70 --- /dev/null +++ b/spec/dummy/config/database.yml.ci @@ -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