Kyle Decot Kyle Decot - 3 months ago 11
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

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

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