r - travis-ci 构建错误 "No Rakefile found"

标签 r travis-ci

一个 github repo 在 travis 上构建得很好,而另一个几乎完全相同的 .travis.yaml 文件没有构建,并给出错误

rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)

我已经看到一些关于 travis yaml 文件没有正确处理选项卡等的讨论,但我已经检查过没有选项卡,只有空格。

我注意到 config travis 仪表板上的一行有一个正确构建的 repo 条目

the one that works

而没有建立的那个缺少那条线

the one that doesn't work

但是,它们或多或少具有相同的 yaml 文件,所以我不明白为什么它不能以相同的方式工作。

The yaml for the repo that builds

And the one that doesn't build (some comments are removed, but that doesn't make a difference, I checked):

最佳答案

我认为您应该将文件重命名为 .travis.yml .

有时我看到它used in a right方式但here它拼写错误。这就是它不被执行的原因。

关于r - travis-ci 构建错误 "No Rakefile found",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15953739/

相关文章:

r - 无法在 R 3.0.2 上安装包 Shiny

R for 循环过滤并打印数据帧的列

r - 比较R中两个矩阵的维数

r - 将参数存储在对象中并在函数中调用

git - Travis 错误存储库无法从远程存储库中读取

Android 特拉维斯 CI 错误 : failed to find target with hash string 'android-23' in:/usr/local/android-sdk

R Shiny 布局挣扎

github - 如果 Travis 失败,我可以阻止 git push 吗?

node.js - 在 travis 上后台运行 Node 服务器

ruby-on-rails - 即使使用来自 bisect 的最小再现命令,Rspec 也无法再现故障