Created
April 18, 2013 03:40
-
-
Save vrybas/5409914 to your computer and use it in GitHub Desktop.
Circle CI rails postgresql structure load
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file should be in RAILS_ROOT | |
database: | |
override: | |
- cp config/database.yml.ci config/database.yml | |
- psql -U ubuntu circle_test < db/structure.sql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test: | |
adapter: postgresql | |
database: circle_test | |
username: ubuntu | |
encoding: unicode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thank you for posting this ✌️