Answer the question
In order to leave comments, you need to log in
What are the solutions for implementing continuous integration for a php project?
We want to start using continuous integration when working on our projects. A lot of theory has been read, there is a rough idea of how it should work. Now we are considering Jenkins and TeamCity. Interested in what are the toolkits for implementing CI. What are you using? Thank you!
Answer the question
In order to leave comments, you need to log in
For a long time, when I wrote in php. Used Jenkins. For the assembly of non-compiled languages, of course, there are fewer goodies. But that's all.
To begin with, you can check the entire code for syntax errors:
Then you can run tests (if you cover the code with tests)
Further, more specific cases for frameworks, for example, for the first version of yii, you could clean the assets folder where the static was generated.
Perform migrations, etc.
Well, probably notifying some employees about the results of the assembly, some kind of statistics.
It's still more convenient than doing all the manipulations by hand.
Well, now there seems to be a package manager for php (composer). he can pump out what he needs. In general, a lot of amenities.
The only problem was with jenkins, he listened to the order of the repositories and collected not only php, mobile applications. This slowed me down terribly. If you turn off listening to the repository and do the assembly only on click, everything is gorgeous.
Interested in what are the toolkits for implementing CI. What are you using?
We use Jenkins + Capistrano.
As you might guess, Jenkins can be replaced by any other CI server.
Capistrano is not alone either. There is also Rocketeer and other useful utilities.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question