Travis CI:FATAL:角色不存在 [英] Travis CI: FATAL: role does not exist

查看:78
本文介绍了Travis CI:FATAL:角色不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Travis CI来运行我的应用程序,但我不断得到: FATAL:角色 skateparks不存在。关于我可能做错了什么的任何想法?我已遵循他们的文档

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.

推荐答案

为进行记录,请在您的 .travis.yml 中放入以下内容:

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

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

这篇关于Travis CI:FATAL:角色不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆