This post is part of The Containerization Chronicles, a series of posts about Containerization. In them, I write about my experiments and what I’ve learned on Containerization of applications. The contents of this post might make more sense if you read the previous posts in this series.
Now that we have some containers in place for development, we can integrate with a CI server. I chose Scrutinizer CI because of the code analysis it makes, the fact that it is also a CI server it’s a plus. However, as a CI, it has some limitations, which I will talk about later on when integrating with Heroku, so we will most likely move to another CI engine later in the future while keeping Scrutinizer only for the code analysis but, for now, this is all we need.
To set up the CI, we will:
- Containerize an environment to run the tests in the CI
- Configure Scrutinizer
- Add the scrutinizer badges to the README.md
- Integrate Scrutinizer with GitHub
If you want to jump right into the code, this is the tag on GitHub.