問題:
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