Continuous Integration (CI) è la pratica di sviluppatori che integrano frequentemente il loro codice in un repository condiviso, dove ogni integrazione è automaticamente verificata (compilata e testata). Rileva i problemi in anticipo e mantiene il codebase in uno stato sano e funzionante.
La pratica fondamentale
Developers integrate code FREQUENTLY (at least daily) into the shared/main branch:
→ each integration is AUTOMATICALLY built and tested (by a CI server/pipeline)
→ problems are caught IMMEDIATELY (on each small change, not after weeks)
→ vs the old way: developers work in isolation for long periods → painful "integration
hell" when finally merging diverged work (many conflicts, surprises, bugs).
