How can I setup something similar to what Pre-Commit does?


#1

I need to be able to test from every commit using Magento EQP where it checks from the coding quality etc… and if there are any bugs as well.

So, I need an advice on how to achieve that on this platform!?

Sincerely,


#2

Use CircleCI 2.0, start with a PHP Docker image, install Magento EQP, and then have it tests your code. Here’s the PHP doc for 2.0 with some examples: https://circleci.com/docs/2.0/language-php/


#3