If I fork a project, and make changes on it, how can I let Travis build the project?
I forked it, it will wait until I make a pull request to give me the build status, but I should test it independently to make the pull request? Because the icon (build|passing) follows the initial project, and not the forked one.
back to a community that connects so many people. Login with GitHub, tell Travis CI to test a project, and then push to GitHub. Could it be any simpler! Many databases and services are pre-installed and can be enabled in your build configuration.
Login with GitHub, tell Travis CI to test a project, and then push to GitHub. Could it be any simpler! Many databases and services are pre-installed and can be enabled in your build configuration. Make sure every Pull Request to your project is tested before it's merged.
On GitHub, navigate to the octocat/Spoon-Knife repository. In the top-right corner of the page, click Fork . You might fork a project to propose changes to the upstream, or original, repository. In this case, it's good practice to regularly sync your fork with the upstream repository. To do this, you'll need to use Git on the command line.
Most commonly, forks are used to either propose changes to someone else's project or to use someone else's project as a starting point for your own idea. You can fork a repository to create a copy of the repository and make changes without affecting the upstream repository. For more information, see " Working with forks."
You go to travis-ci.org, log in (using your github account) and then follow the following simple guide:
Enable your projects below by flicking the switch, add a
.travis.yml
to your project, and push a new commit to GitHub.
This will lead to your own travis build, independent of the original project and you won't have to wait for any pull requests to be merged.
You'll find the specifications for your .travis.yml
on docs.travis-ci.com if you want to do further changes, since you forked a project that already contains one you're all set for now.
Once this is all setup you can adapt the URL in the readme.md
file to point to your travis build
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With