最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Test a forked Github project by Travis? - Stack Overflow

programmeradmin3浏览0评论

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.

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.

Share Improve this question edited Oct 13, 2014 at 15:42 reto 10.5k5 gold badges55 silver badges52 bronze badges asked Oct 13, 2014 at 15:25 AbdelouahabAbdelouahab 7,55911 gold badges54 silver badges83 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 16

You go to travis-ci, 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 mit 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. 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

发布评论

评论列表(0)

  1. 暂无评论