Kyle Decot
Kyle Decot

Reputation: 20815

Travis CI: FATAL: database does not exist

I'm trying to get my application working w/ Travis CI but I keep getting: FATAL: database "skateparks_test" does not exist. I've followed the instructions on their website for PostgreSQL but can't seem to get it to work. If you would like to take a look at my .travis.yaml file you can do so at:

https://github.com/kyledecot/skateparks-web/blob/master/.travis.yaml

Upvotes: 1

Views: 1878

Answers (2)

mugetsu
mugetsu

Reputation: 4398

yea looks like the yml file is doing the database creation, and if the file was named wrong, you won't get the database creation.

I have no idea what travis-ci is but it shouldn't be any harder for you to just create a database manually without the yml file. Just go into a postgres shell.

Upvotes: 0

Peter Brown
Peter Brown

Reputation: 51717

I think the file extension should be .yml, not .yaml, as in .travis.yml

Upvotes: 2

Related Questions