The workflow for connecting the Continuous Integration (CI) system
As people working with code and writing tests for it, there's no reason not to see those tests executed in CI. The same way every program has language requirements, ours need to be able to build Docker containers and execute some Ruby code. Being able to fully execute a whole pile of tests automatically, upon any code check-in, is a major quality improvement step. No one can test each and every possibility and regression and special cases from months or maybe years ago. It's true in software code, and it's the same in infrastructure code as well. Let's find an elegant and automated way to execute our infrastructure code tests in CI systematically so this could be another dot connected to the bigger map.
Getting ready
To step through this recipe, you will need:
- A working Docker installation
- A free Travis CI account
How to do it…
We'd like our RSpec integration tests to be executed automatically each...