如何在本地运行 travis-ci - How to run travis-ci locally

问题:

I've just joined a project, and I'm new to travis-ci.我刚刚加入了一个项目,我是 travis-ci 的新手。 I'd rather not have to push every little change to .travis.yml and every little change I make to the source in order to run the build.我宁愿不必将每一个小更改都推送到.travis.yml以及我对源所做的每一个小更改以运行构建。 With jenkins you can download jenkins and run locally.使用 jenkins,您可以下载 jenkins 并在本地运行。 Does travis offer something like this? travis 提供这样的东西吗?

Note: I've seen the travis-ci cli and downloaded it, but all it seems to do is call their API, which then connects to my GitHub repo, so if I don't push, it won't matter that I restart the last build.注意:我已经看到了 travis-ci cli 并下载了它,但它似乎所做的只是调用他们的 API,然后连接到我的 GitHub 存储库,所以如果我不推送,我重新启动也无所谓最后一次构建。


解决方案:

参考一: https://stackoom.com/question/1QL17
参考二: How to run travis-ci locally
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章