我将其发布作为对其他遇到相同问题的人的参考。
$ rake
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/home/travis/.rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `eval'
/home/travis/.rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `<main>'
(See full trace by running task with --trace)
The command "rake" exited with 1.
以上是在 Travis-CI 上构建 Node.JS 项目时的输出。 .travis.yml 文件有效:
language: node_js
node_js:
- "0.12"
通过删除版本控制上的引号来修复 .travis.yml,如下所示:
language: node_js
node_js:
- 0.12
Travis Node.JS 文档当前显示时带有引号。这似乎是不正确的。
http://docs.travis-ci.com/user/languages/javascript-with-nodejs/ http://docs.travis-ci.com/user/languages/javascript-with-nodejs/
如果其他人可以测试验证,请在下面评论。
编辑:这可能是一个临时问题,因为还有其他 .travis.yml 文件的示例,版本号上带有引号(如果它嵌套在包含中)。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)