[英]Travis gives me Redis connection to localhost:6379 failed - connect ECONNREFUSED
I'm trying to test a node.js module using Travis, but all I get is "Redis connection to localhost:6379 failed - connect ECONNREFUSED". 我正在尝试使用Travis测试node.js 模块 ,但我得到的只是“与本地主机的Redis连接失败:6379-连接ECONNREFUSED”。
Can someone please tell me what am I doing wrong? 有人可以告诉我我在做什么错吗? The latest build is at: https://travis-ci.org/luiselizondo/config-persistence/builds/65187913 最新的版本位于: https : //travis-ci.org/luiselizondo/config-persistence/builds/65187913
Thanks 谢谢
I had a look at your problem and it seems the problem is due to the format of your .travis.yml
file. 我查看了您的问题,看来该问题是由于您的.travis.yml
文件的格式.travis.yml
。
I forked your project and removed the leading spaces in front of the language
and node_js
fields. 我分叉了您的项目,并删除了language
和node_js
字段前面的空格。 I have created a pull request here that shows the changes I made. 我在这里创建了一个拉取请求,以显示我所做的更改。
You can see the result of my build here . 您可以在此处查看我的构建结果 。
Hope this helps! 希望这可以帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.