Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Travis CI build when repository is first added

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."

like image 545
Jessamyn Smith Avatar asked Feb 08 '15 16:02

Jessamyn Smith


1 Answers

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.

like image 113
2 revs Avatar answered Oct 07 '22 19:10

2 revs