Travis CI build when repository is first added

Jessamyn Smith

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

kenorb

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.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related