Some time ago we started developing using Elixir language and we loved it! As usual, we wanted to focus on code logic rather than on code style, so we also started using Credo a great tool to examine elixir code developed by René Föhring (@rrrene)
So far so good, but we all make mistakes, and sometimes developers send a pull request without fixing all credo warnings/errors. A few times of this happening was enough proof to consider that we needed a tool to automatically check the code whenever a pull request was created.
So that's how CredoCI was born.
CredoCI is basically a service that integrates with your public repositories, so that each time there is a new pull request, it runs credo service against the PR's code reporting errors/warnings as github comments.
After you sign up with your Github account, a list of your public repositories will be displayed, allowing you to [de]activate
CredoCI service for it.
CredoCI would use the
.credo.exs file present in the PR's branch, if any. Otherwise, it will use the default credo configuration.
And...that's all! Simple, but very useful, right?
We are already using it to check our public repos like Dayron(which I really recommend to take a look at)
CredoCI is still in version 0.9.0, so if you have any questions, suggestions or issues to report, use github issues or talk directly with us in our public hipchat room. We're waiting for your feedback.