Running Redis on Travis CI

强颜欢笑 提交于 2019-12-06 12:58:55

If you want to customize the option for Redis on Travis CI, I'd suggest not using the services section, but rather do this:

before_script: sudo redis-server /etc/redis/redis.conf --port 6380 --requirepass 'secret'

The services section runs services using their init/upstart scripts, which may not support the options you've added in there. The command is also escaped for security reasons, hence the documentation only hinting that you can list normal service names in that section.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!