我收到了这样的警告日志,我的构建失败了。
WARNING: We were unable to find a .travis.yml file. This may not be what you
want. Build will be run with default settings.
但是我的仓库中已经存在 .travis.yml 。
这个问题似乎是我在 Github 上更改了我的 repo 名称后引起的。
(在更改之前,Travis 可以检测到我的 .travis.yml)
我的环境在那里:https://travis-ci.org/PizzaFactory/mRDT
如何解决这个问题?
最佳答案
发生这种情况可能是因为您在 GitHub 上重命名了该存储库。
我为了解决这个问题所做的是进入 Travis Accounts
部分,按 Sync
按钮,然后将另一个提交推送到 repo。
关于travis-ci - Travis 找不到我的 .travis.yml,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27086684/