Daily routine with continuous integration
This post was originally published here.
I chuckled quite a bit after reading the Top 5 Signs of Discontinuous Integration, though I think “dysfunctional integration” is a better word. So what’s my routine?
Start of the day
- Check if build is green
-
Get latest if it is
- Fix build if it isn’t
-
Coding
- Code/write tests
- Run local build, make sure code compiles and tests pass
- Get latest
- Run local build again
- Check in, with decent comments
- Wait for CI build to finish
- If build is red, drop everything and fix
- Otherwise, go back to step 1
- If build is red, drop everything and fix
- Wait for CI build to finish
- Check in, with decent comments
- Run local build again
- Get latest
- Run local build, make sure code compiles and tests pass
