Kyle Decot Kyle Decot - 1 year ago 109
Ruby Question

Travis CI: FATAL: role does not exist

I'm trying to get my application working w/ Travis CI but I keep getting:

FATAL: role "skateparks" does not exist
. Any ideas on what I could be doing wrong? I've followed their documentation.

tbk tbk
Answer Source

For the record, put something like this in your .travis.yml:

  - psql -c "CREATE USER skateparks WITH PASSWORD 'skateparks';" -U postgres