Trigger a Travis-CI rebuild without pushing a commit?

后端 未结 16 2182
长发绾君心
长发绾君心 2020-12-12 08:21

Using Travis-CI, is it possible to trigger a rebuild without pushing a new commit to GitHub?

Use case: A build fails due to an externality. The source is actually co

16条回答
  •  余生分开走
    2020-12-12 09:20

    If you have new project on GitHub which has .travis.yml, but was never tested, you can run tests without commit this way:

    1. enable testing in Travis CI setings
    2. open project page on GitHub
    3. open settings -> webhooks and services
    4. find Travis CI in services and press edit button
    5. press "Test service"

提交回复
热议问题