DEV Community

Discussion on: Explain continuous integration like I'm five

Collapse
 
mmg profile image
Muhamed G

Continuous Integration (known also as CI), is basically linking your code with a repository (a place to save code), and hire a person, and tell him this:

Whenever I check-in code (a.k.a commit) to this $folder, I want you to build (compile the code) with these $settings and run 100 tests located in this $tests project, after you finish, tell me the $build status and the $tests status.

Some people will be capable of publishing your code, some will upload mobile app package to the store, so you'd tell the new hired person:
And if the build was successful, and the tests passed, I want you to take the package from this $folder and upload to my virtual machine, you can use these conditionals to do so $username/ $password.

Except for hiring a person, it's automated for you, there are companies provide CI services such as Microsoft, they have Visual Studio Team Services (Which I use with my team).

$ means variable, configurable.