Fix Travis errors by preparing a database