-
Notifications
You must be signed in to change notification settings - Fork 57
Merge #235 - Travis CI implementation #641
Changes from 4 commits
c1a4c8e
ca2df70
083d328
245a627
8fb8171
3f58996
29ce74d
e5274ae
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
language: ruby | ||
rvm: | ||
- 2.1.1 | ||
- 1.9.3 | ||
before_script: | ||
- cp config/database.travis.yml config/database.yml | ||
- bundle exec rake db:setup |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
development: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this file should be added to the git-ignore file, and copied to a database.travis.yml.example file (just like database.yml), and this info added to appropriate documentation. database setups will vary and we don't want to assume mysql2 with these default settings. :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unfortunately that's not how it works. This file is for Travis CI's VMs, and is necessary for automatic builds. There can't be a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ah, I see, I didn't realize Travis CI is a hosted service and doesn't use our databases. Can we add that to a comment in the top line, for documentation/clarity? |
||
adapter: mysql2 | ||
encoding: utf8 | ||
reconnect: false | ||
database: reservations_development | ||
pool: 5 | ||
username: root | ||
password: | ||
host: localhost | ||
|
||
# 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: mysql2 | ||
encoding: utf8 | ||
reconnect: false | ||
database: reservations_test | ||
pool: 5 | ||
username: root | ||
password: | ||
|
||
production: | ||
adapter: mysql2 | ||
encoding: utf8 | ||
reconnect: false | ||
database: reservations_production | ||
pool: 5 | ||
username: root | ||
password: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this a placeholder for #598?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh that was a test, sorry, I can get rid of that.