❤️

Hello everyone! 👋 This story is aimed at anyone interested in Continuous Integration (CI). I will focus on how to implement CircleCI in any Android project.

Let’s begin with one important question. Why would we want to have CI in our projects?

Increase the speed of development while ensuring the quality of the code.

It also helps to avoid this kind of situation:

😠

To take full advantage of CI tools TESTING needs to be a first-class citizen. You can still set it up for static analysis tools (ktlint, detekt, lint etc…) but you will be missing big time on improving your project’s process and the life of anyone working on it.

One of the biggest advantages of testing (apart from failing if the expected outcome is not met) is that it will also point out code smells which will lead to code improvements. This combined with a bit of architecture will improve the testability of your codebase.

Back to topic, I went with CircleCI because it has the best package for Open Source projects and it is easy to set up.

Let’s begin!

1. Log in to GitHub or Bitbucket over here: https://circleci.com/signup/

2. Once you are in click ADD PROJECTS and click on Set Up Project.