Created
March 6, 2013 22:20
-
-
Save ryanjones/5103650 to your computer and use it in GitHub Desktop.
Create db/user for test db in travis yml
This file contains 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
before_script: | |
- psql -c 'CREATE USER the_user WITH CREATEDB;' -U postgres | |
- psql -c 'CREATE database the_db_test;' -U postgres | |
- psql -c 'ALTER DATABASE the_db_test OWNER TO the_user' -U postgres |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment