6

Is it possible to trigger a build when a forked repository is first added to Travis CI? I just forked it and want to test the build before I start modifying the code. I know I can restart an existing build as described here, but when a repository is first added there are no builds to restart. I also looked in Settings but could not find anything that would let me trigger a build.

Edit: I also tried going to my GitHub repo -> Settings -> WebHooks & Services -> Travis CI When I clicked "Test Service" I received the following error: "Oops, we weren't able to send the test payload: no pushes found."

Jessamyn Smith
  • 1,633
  • 13
  • 20
  • Did you push at least one new commit since the fork took place? – VonC Feb 08 '15 at 16:48
  • No, I have not pushed any commits. My question is if you can verify that the build is working before making any changes. – Jessamyn Smith Feb 08 '15 at 16:56
  • Then maybe adding an empty commit (http://stackoverflow.com/q/20138640/6309) just for testing could be a way to find out. It is your fork: you can remove that commit after the test. – VonC Feb 08 '15 at 16:57

1 Answers1

3

Try adding an empty commit just for testing could be a way to find out.

It is your fork: you can remove that commit after the test.

Community
  • 1
  • 1
kenorb
  • 155,785
  • 88
  • 678
  • 743