Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I want to draw a model of process of updating the source code with the use of Continous Integration. The main issue is I don't really understand how it works when there are several programmers working on various aspects of the code at the same time. I can't visualize it in my mind. Here's what I know but I might be wrong:

  1. New code is sent to repository.
  2. Continous Integration server asks Version Control System if there is a new code in repository.
  3. If there is than CIS executes tests on the code.
  4. If tests show there are problems than CIS orders VCS to revert back to working wersion of the code and communicates it to programmer.
  5. If tests are passed positively it compiles the repository code and makes new build of a game?

New build is made not after ever single change, but at the end of the day I believe? Are my assumptions above correct? If yes, does it also work when there are several programmers updating repository at once? Is this enough to draw a model of the process in your opinions or did I miss something?

Also, what software would I need for above process? Can you guys give examples for CIS software and VCS software and whatever else I need? Does CIS software perform code tests or do I need another tool for that and integrate it with CIS? Is there a repository software?

share|improve this question
4  
I think it will get better answer at "Programmers". – Markus von Broady Oct 7 '12 at 14:25
2  
Not only is this off topic for gamedev, but a simple google search for "Continuous Integration" answers all your questions, including drawing a model. – Chewy Gumball Oct 7 '12 at 16:18

closed as off topic by Ricket Oct 7 '12 at 16:30

Questions on Game Development Stack Exchange are expected to relate to game development within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

1 Answer

As far as I understand version control, when one programmer check out code its either locked or other gets meessage about it. Once its modified programmer check in, and other can take it for work.

I believe the best option to practice is SVN for example: http://tortoisesvn.net/ which nicely integrate into windows.

share|improve this answer
3  
Version control and continuous integration are related, but different concepts. I imagine BleakCabalist already understands how version control works. – michael.bartnett Oct 7 '12 at 14:52

Not the answer you're looking for? Browse other questions tagged or ask your own question.