We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Setting up local dev environment

Hi,

I would like to write some code in C to extend some of Phalcon's functionality. My problem is that I'm unable to set up my local environment(Linux Ubuntu) in the same way that it will behave as Travis-CI is. Because of that, whatever I will code locally, test and create a pull request can possibly fail in Travis-CI build.

Could anyone give me some tips for setting up local environment?

Thanks in advance,

Kamil



98.9k

Check the .travis.yml file to see what commands and tools are used to run the tests on Travis: https://github.com/phalcon/cphalcon/blob/1.3.0/.travis.yml

Thanks, that was helpful I would like to add one thing for benefit of any other people trying to compile Phalcon - I would advise to compile it with usage of thread safe PHP.

Thanks again!